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(" : "$thistopic);
$str substr($ntopic,-8);
$str substr($str,0,4);
}>
<{if (
$str == "Poem"):}>
<
td>
<
br><b>Hello..Worldb>
td>
<{/if}>
td>


mouacy

Login

Who's Online

250 user(s) are online (143 user(s) are browsing Support Forums)


Members: 0


Guests: 250


more...

Donat-O-Meter

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

Latest GitHub Commits