Hide attachments in the latest news in large style form

Current Version: 2.3.0
Released: 2023-03-19
Forum rules
Before creating a new support thread, please take a look at the board3 Portal FAQ and use the search!
Many questions have already been answered.

Topic author
MoM
Active Member
Posts: 9
Joined: 15. December 2008 19:28

Hide attachments in the latest news in large style form

Post by MoM »

Hide attachments in the latest news in large style form

Hi, as per the title I need the latest news module, when configured in extended mode, not to show the slew of attachments present in the topic.

Thanks bye.

https://www.hwtweakers.net/forum/app.php/portal
User avatar

Kirk
Dev
Posts: 1954
Joined: 27. July 2010 18:02
phpBB.de User: Kirk

Re: Hide attachments in the latest news in large style form

Post by Kirk »

Hi
Untested,
Open: root/ext/board3/portal/styles/prosilver/template/portal/modules/news_center.html
Find:

Code: Select all

{% if news_row.S_HAS_ATTACHMENTS %}
Replace with:

Code: Select all

{% if 0 %}
In the end "ACP -> General" --> purge cache It's recommended to purge your browser cache too.
Gruß Udo

Topic author
MoM
Active Member
Posts: 9
Joined: 15. December 2008 19:28

Re: Hide attachments in the latest news in large style form

Post by MoM »

Thanks, it works perfectly. Image

Return to “Board3 Portal 2.3.x - English Support”