1
gcq-val
template for custom block? - help newbie please
  • 2005/11/13 7:51

  • gcq-val

  • Just popping in

  • Posts: 1

  • Since: 2005/11/13


Hi all,

I´m trying to create a custom block in which I´ll show Recent News functionality within a custom layout. The issue is that if I include something like:

<ul>
<{foreach item=news from=$block.stories}>
<li><a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$news.id}>"><{$news.title}></a> (<{$news.date}>)</li>
<{/foreach}>
</ul>

in the content area of the custom block, it is not interpreted and is shown as text.

Another path to achieve the same result would be to edit the Recent News template, but it seems far too complex.

I´ll appreciate any input on this.
thanks!

Login

Who's Online

76 user(s) are online (59 user(s) are browsing Support Forums)


Members: 0


Guests: 76


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