Page 1 of 1

remove links in newsmodule

Posted: Tue Mar 01, 2022 7:11 pm
by babel
I wont to remove the links after an article in the detailtemplate. How can I do this.

Re: remove links in newsmodule

Posted: Tue Mar 01, 2022 10:02 pm
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}
*}

Re: remove links in newsmodule

Posted: Wed Mar 02, 2022 7:51 pm
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.

Re: remove links in newsmodule

Posted: Wed Mar 02, 2022 7:57 pm
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.