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
Hide attachments in the latest news in large style form
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.
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 - Active Member
- Posts: 9
- Joined: 15. December 2008 19:28
-
- Dev
- Posts: 1954
- Joined: 27. July 2010 18:02
- phpBB.de User: Kirk
Re: Hide attachments in the latest news in large style form
Hi
Untested,
Open:
Find:
Replace with:
In the end "ACP -> General" --> purge cache It's recommended to purge your browser cache too.
Untested,
Open:
root/ext/board3/portal/styles/prosilver/template/portal/modules/news_center.html
Find:
Code: Select all
{% if news_row.S_HAS_ATTACHMENTS %}
Code: Select all
{% if 0 %}
Gruß Udo
-
Topic author - Active Member
- Posts: 9
- Joined: 15. December 2008 19:28
Re: Hide attachments in the latest news in large style form
Thanks, it works perfectly.