Hi,
I was wondering if anyone might know if it is possible to suppress the display of the "News" category when a News article is in publication. One of my co-workers has requested that it should not say "Category: General" on our published web page, and that no category should be listed at all. So far, I have found no way to eliminate this from public display.
Thank you,
John
suppress News Category in publication
Re: suppress News Category in publication
simply remove that portion from the news template(s) you're using...hesaa wrote: I was wondering if anyone might know if it is possible to suppress the display of the "News" category when a News article is in publication. One of my co-workers has requested that it should not say "Category: General" on our published web page, and that no category should be listed at all. So far, I have found no way to eliminate this from public display.
in the Sample (and used by default if you don't specify a template otherwise) templates.. the code to remove is...
summary template:
Code: Select all
<div class="NewsSummaryCategory">
{$category_label} {$entry->category}
</div>
Code: Select all
{if $entry->category}
<div id="NewsPostDetailCategory">
{$category_label} {$entry->category}
</div>
{/if}
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info