1
sdmacint
MyAlbum-P - Listing categories, one per line
  • 2005/6/13 12:43

  • sdmacint

  • Just popping in

  • Posts: 66

  • Since: 2003/11/9


Hi,

First let me say, I think that MyAlbum-P is a great module. I have one question and I'm hoping someone can suggest a solution. Please forgive my lack of knowledge, I'm not a programmer, just a XOOPS lover (shameless plug to elicit help).

I use MyAlbum-P and have many categories with many subcategories. When someone views the main page for the module, I would like to have each category and subcategory on its own line. The line would start with the image folder32.gif or folder16.gif and the text of the category name. Then a line break and the next would appear.

Is this simple to do? I've tried looking for where to modify it in the files but I'm not a programmer so I'm having difficulty. If you'd like to see how they're displayed now, you can check them out on my page:

http://www.freemasonry.pe.ca/modules/myalbum/

As you can see when you look at the link, the next category starts on the same line as the last one. I want to split those lines... Any and all assistance is greatly appreciated.

Thanks
Sean

2
V6-Maniac
Re: MyAlbum-P - Listing categories, one per line
  • 2005/6/13 13:43

  • V6-Maniac

  • Just popping in

  • Posts: 86

  • Since: 2005/2/15


Did you search for this: MyAlbum - Demo...

Well goint your admin template section.
And go to your Myalbum template admin.
And search for the myalbum_categories.html

There you will find something listed here below.
Only this is my template file.(stripped)
You will find here below two colums and categories listed per row.

Quote:


<{foreach from=$subcategories item=cat key=count}>


<{if ($count+1) is div by 2}>

<{/if}>
<{/foreach}>


<{if $cat.imgurl != ""}>



<{else}>



<{/if}>

<{$cat.title}> <{$lang_total}> <{$cat.photo_total_sum}>  

<{foreach from=$cat.subcategories item=subcat}>
<{if $subcat.number_of_subcat}>
<{$subcat.title}>  
<{else}>
<{$subcat.title}> (<{$subcat.photo_small_sum}>)  

<{/if}>
<{/foreach}>

3
sdmacint
Re: MyAlbum-P - Listing categories, one per line
  • 2005/6/13 15:20

  • sdmacint

  • Just popping in

  • Posts: 66

  • Since: 2003/11/9


It worked wonderfully. Thank you so much for your help!

Sean

4
V6-Maniac
Re: MyAlbum-P - Listing categories, one per line
  • 2005/6/13 15:23

  • V6-Maniac

  • Just popping in

  • Posts: 86

  • Since: 2005/2/15


Your Welcome...

Login

Who's Online

297 user(s) are online (83 user(s) are browsing Support Forums)


Members: 0


Guests: 297


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits