1
ryanj
Make Menu block based on Article Story Topics
  • 2004/12/5 14:39

  • ryanj

  • Just popping in

  • Posts: 2

  • Since: 2004/12/5


Looking at one of the site made with XOOPS (http://www.condolegal.com), I've found for the first time what I want, which is make a menu block out of Story topics.

I have installed the module news and defined sory topics and subtopics.

Now what I want to do is buil dmy own block with a php template close to the one used by main menu but where each item correspond to story topics.

I have tried something like :

# table cellspacing="0">
# tr>
# td id="mainmenu">
# {foreach item=news from=$block.storytopic}>
# a class "menuMain" href="<{$xoops_url}>/modules/news/article.php?storytopic=<{$news.topic_id()}>"><{$news.topic_title}></a>
# {/foreach}>
# /td>
# /tr>
# /table>

but it does not work.

Please help or point me to a documentation where I can understand how to link together, php, module classes and template.

Login

Who's Online

118 user(s) are online (61 user(s) are browsing Support Forums)


Members: 0


Guests: 118


more...

Donat-O-Meter

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

Latest GitHub Commits