Quote:
Originally Posted by DotSauce
I tried both ways... If i add text to links_main template it shows up on all categories.
Essentially I want my root category to have a description ($viewcattext)...
Is there a way to add a piece of code like, <if page is local_links.php echo "Directory Description"> to the links_main template? Thanks.
|
Sure, do a test on $viewcatid, which is set to -1 when you are in the root category, e.g.
PHP Code:
<if condition="$viewcatid==-1">Hello hello</if>