1
mouacy
Need help with template coding
  • 2005/1/14 7:56

  • mouacy

  • Not too shy to talk

  • Posts: 138

  • Since: 2002/11/2


I add the following code to the news_item.html template, but it won't compile when I refresh the news module.

Can any help modify this code for me so it will compile?

<td>
<{
$thistopic $this->_tpl_vars['story']['title'] ;
list(
$ntopic$nstory) = explode("&nbsp;:&nbsp;"$thistopic);
$str substr($ntopic,-8);
$str substr($str,0,4);
}>
<{if (
$str == "Poem"):}>
<
td>
<
br><b>Hello..World</b>
</
td>
<{/if}>
</
td>


mouacy

Login

Who's Online

144 user(s) are online (89 user(s) are browsing Support Forums)


Members: 0


Guests: 144


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