4images Forum & Community
The forum for all 4images gallery administrators
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
[2023-01-23] 4images 1.10 released
Home
Help
Search
Login
Register
4images Forum & Community
»
4images Modifications / Modifikationen
»
Mods & Plugins (Requests & Discussions)
(Moderator:
mawenzi
) »
No content, if Subcategories
« previous
next »
Print
Pages: [
1
]
Author
Topic: No content, if Subcategories (Read 3401 times)
0 Members and 1 Guest are viewing this topic.
Sebas Bonito
Sr. Member
Posts: 271
Sebas Bonito
No content, if Subcategories
«
on:
June 22, 2009, 01:45:41 PM »
I'm
only
using Subcategories (where pics/videos are), so there I don't need the content in their "main"-category. Is it possible to deactivate this maincategory-template? (for example: upload-button is deactivated... stats off.. no text like "no pics in this cat")
Logged
V@no
If you don't tell me what to do, I won't tell you where you should go :)
Global Moderator
4images Guru
Posts: 17.849
mmm PHP...
Re: No content, if Subcategories
«
Reply #1 on:
June 22, 2009, 04:03:27 PM »
You can do this by using {ifno thumbnails} ... {endifno thumbnails} in categories.html template.
Logged
Your first three "must do" before you ask a question:
Forum rules
FAQ
Error messages
Bug Fixes & Patches
Search
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer.
(
forum rule #6
)
Extension for Firefox/Thunderbird:
Master Password+
Back/Forward History Tweaks (restartless)
Cookies Manager+
Fit Images (restartless for Thunderbird)
Sebas Bonito
Sr. Member
Posts: 271
Sebas Bonito
Re: No content, if Subcategories
«
Reply #2 on:
June 22, 2009, 04:23:13 PM »
yes, that works, thx mate!
BUT it won't show any further infos/messages in the subcategories (when no thumb/pic was uploaded).
I only like this exceptions in the maincategories.
Logged
Print
Pages: [
1
]
« previous
next »
4images Forum & Community
»
4images Modifications / Modifikationen
»
Mods & Plugins (Requests & Discussions)
(Moderator:
mawenzi
) »
No content, if Subcategories