A small question regarding the default templates that come with the news module. I'm using version 1.9.4.2
In the summary template it says that if you remove this:
Code: Select all
{* This section shows a clickable list of your News categories. *}
[size=85][size=50][/size][/size]<ul class="list1">
{foreach from=$cats item=node}
{if $node.depth > $node.prevdepth}
{repeat string="<ul>" times=$node.depth-$node.prevdepth}
{elseif $node.depth < $node.prevdepth}
{repeat string="</li></ul>" times=$node.prevdepth-$node.depth}
</li>
{elseif $node.index > 0}</li>
{/if}
<li{if $node.index == 0} class="firstnewscat"{/if}>
{if $node.count > 0}
<a href="{$node.url}">{$node.news_category_name}</a>{else}<span>{$node.news_category_name} </span>{/if}
{/foreach}
{repeat string="</li></ul>" times=$node.depth-1}</li>
</ul>
{* this displays the category name if you're browsing by category *}
{if $category_name}
<h1>{$category_name}</h1>
{/if}
Okay so I did remove those lines and thought to copy them to the detail template because I do want readers of a news item to be able to select a category upon reading a message. So far so good.
Categories are now not shown anymore in the summary and correctly displayed on the detail page of a news message.
But now when I click on a category, it shows all messages in that category (which is what I want) but without the categories themselves again and the fat title. These seem to be dependent on the summary template (where I deliberately removed them).

So basically I want to have the categories display exactly as it was when still in the summary template but now from the detail page. I first thought the browse category template was the obvious solution but changes there don't reflect anywhere.
cheers
René