1
kalamata
Web Links Presentation
  • 2005/10/6 21:40

  • kalamata

  • Not too shy to talk

  • Posts: 121

  • Since: 2005/3/3 1


to be like the following:

Category 1 (4)
Category 2 (5) Sub-Category 1 (12)
Sub-Category 2 (12)

I wrote the following code for that:

<{if count($categories) gt 0}>





<{foreach item=category from=$categories}>



<{if count($infercategories) gt 0}>
<{foreach item=subcat from=$infercategories}>


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



<{/foreach}>

However, I have problems in getting the sub-categories to work - if I am not wrong infercategories is used by XOOPS to denote sub-categories, or am I wrong?

I look forward to hearing from you soon.

Thanks,
George

Login

Who's Online

192 user(s) are online (166 user(s) are browsing Support Forums)


Members: 0


Guests: 192


more...

Donat-O-Meter



<{if $category.image != ""}>

<{/if}>

<{$category.title}> (<{$category.totallink}>)

<{$subcat.title}> (<{$subcat.totallink}>)
Stats
Goal: $100.00
Due Date: Jan 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits