xoops forums

rosytoes

Just popping in
Posted on: 2005/11/6 12:17
rosytoes
rosytoes (Show more)
Just popping in
Posts: 24
Since: 2005/10/9
#11

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

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}>

m0nty

XOOPS is my life!
Posted on: 2005/11/6 14:04
m0nty
m0nty (Show more)
XOOPS is my life!
Posts: 3337
Since: 2003/10/24
#12

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

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

something like

$xoopsTpl->assign('story_categorytitle', $thisstory->textlink());
Posted on: 2005/11/6 14:29
ackbarr
ackbarr (Show more)
Posts: 1449
Since: 2002/10/2
#13

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

http://ackbarr.xoops.org/archives/200 ... 5/fun-tricks-with-smarty/
Site Hosting - PlanetXoops