11
rosytoes
Re: how to i change whats in a smarty tag?
  • 2005/11/6 12:17

  • rosytoes

  • Just popping in

  • Posts: 24

  • Since: 2005/10/9


I still cant get this to work, can anyone help?
actually I want the category title to display on the top of the page instead of category title + news title as the news title heading.
<{$story.categorytitle}>
<{if 
$topic_description != ''}>
    <
div style="text-align: center;"><{$topic_description}></div>
<{/if}>

12
m0nty
Re: how to i change whats in a smarty tag?
  • 2005/11/6 14:04

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


yuo would need to declare it i think in the index.php

something like

$xoopsTpl->assign('story_categorytitle', $thisstory->textlink());

13
ackbarr
Re: how to i change whats in a smarty tag?

Site Hosting - PlanetXoops

Login

Who's Online

180 user(s) are online (102 user(s) are browsing Support Forums)


Members: 0


Guests: 180


more...

Donat-O-Meter

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

Latest GitHub Commits