Author Topic: No content, if Subcategories  (Read 3351 times)

0 Members and 1 Guest are viewing this topic.

Offline Sebas Bonito

  • Sr. Member
  • ****
  • Posts: 271
  • Sebas Bonito
    • View Profile
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")

Offline 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...
    • View Profile
    • 4images MODs Demo
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.
Your first three "must do" before you ask a question:
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)

Offline Sebas Bonito

  • Sr. Member
  • ****
  • Posts: 271
  • Sebas Bonito
    • View Profile
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.