1
I want to show the news topic in the news_index.html template, and have it show the topic name as headline when a topic is clicked on and all the articles of that topic are listed.
But I have a problem. It won't show. When I write this:
<{$topic.title}>
It thinks it's a forum topic not the news topic. How can I show the selected news topic as headline?
You can see what's happening here:
http://www.xoopswiki.org/modules/news/index.php?storytopic=5You see two headlines like below, neither try is working:
_MI_NEWS_NAME
Re: Planning
first headline has this in the code:
<{$topic_title|default:$smarty.const._MI_NEWS_NAME}>
Second one this:
<{$topic.title|default:$smarty.const._MI_NEWS_NAME}>
How come <{$topic.title}> does work in the news_by_topic.html? with this code:
<div class="newsTopicTitle"><a href="<{$xoops_url}>/modules/news/index.php?storytopic=<{$topic.id}>"><{$topic.title}></a></div>
and <{$topic.title}> not recognized in news_index.html