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

  • 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}>
#{/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.

2
miind
Re: Make Menu block based on Article Story Topics
  • 2005/1/3 13:12

  • miind

  • Just popping in

  • Posts: 1

  • Since: 2005/1/3 1


Im trying to do the same thing... with no luck!? How do I get a decent object to loop over to get a list of news topics!?

// Samuel

Login

Who's Online

354 user(s) are online (54 user(s) are browsing Support Forums)


Members: 0


Guests: 354


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