Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 How to detect if forum is "category" without posts or normal forum with posts??
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #2
RE: How to detect if forum is "category" without posts or normal forum with posts??
In which template? If it is in forumdisplay template, you can use $foruminfo['type']
c means category type, f means forum type

If it is for index, (not quite sure what you want), forumbit_depth1_cat is template for parent category, forumbit_depth2_cat is template for a category (not forum) inside a category.

09-21-2015 06:36 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: How to detect if forum is "category" without posts or normal forum with posts?? - RateU - 09-21-2015 06:36 AM

 Standard Tools
Forum Jump: