remove links in newsmodule

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
babel
Forum Members
Forum Members
Posts: 149
Joined: Fri Oct 19, 2012 8:58 pm

remove links in newsmodule

Post by babel »

I wont to remove the links after an article in the detailtemplate. How can I do this.
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1825
Joined: Wed Feb 25, 2009 4:25 am

Re: remove links in newsmodule

Post by DIGI3 »

In the detail template you're using, either delete the links or comment them out with {* *}

e.g. change

Code: Select all

{if $return_url != ""}
<div id="NewsPostDetailReturnLink">{$return_url}{if $category_name != ''} - {$category_link}{/if}</div>
{/if}
to

Code: Select all

{*
{if $return_url != ""}
<div id="NewsPostDetailReturnLink">{$return_url}{if $category_name != ''} - {$category_link}{/if}</div>
{/if}
*}
Not getting the answer you need? CMSMS support options
babel
Forum Members
Forum Members
Posts: 149
Joined: Fri Oct 19, 2012 8:58 pm

Re: remove links in newsmodule

Post by babel »

Thanks DIGI13 for your reply. I'm only using the News Summary Sample-template and not the detail-template. But client changed her mind. So that's it.
babel
Forum Members
Forum Members
Posts: 149
Joined: Fri Oct 19, 2012 8:58 pm

Re: remove links in newsmodule

Post by babel »

Hallo DIGI13, the question was how to remove the NewsSummaryLink in the detailpage. This means that my first question had a bad phrasing.
Post Reply

Return to “Modules/Add-Ons”