![]() |
Custom query for forums
Hi.
I'm trying to set different layouts for the listing of all the forums. Some forums should be displayed in one way, the others in a different matter. But how do I change the $forumbits so that I can create custom templates and then call only the forums that belong to a certain parent? Thanks in advance. // Frozt |
You could use template conditionals if you wanted to do it that way.
Code:
<if condition="$forum['forumid'] == X"> |
Thanks Gray Matter. That will do just fine. But in this case I need to filter by the forums parent ID, not the forums ID itself. Any ideas?
--------------- Added [DATE]1193702900[/DATE] at [TIME]1193702900[/TIME] --------------- Oh, I found the function $foruminfo['parentid']. So I did the following: Code:
<if condition="$foruminfo['parentid'] == 17"> |
All times are GMT. The time now is 02:13 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|