Quote:
Originally Posted by shka
As you wrote they are always inside. But you have to check if empty or not. Like line 31
Code:
<vb:if condition="!empty($page['nodeid']) AND !empty($page['channelid'])">
Or do you mean how you get (in your example the "3") the list of nodeid's or channelid's to compare with? How do you want do manage this values? In admincp, as a value in settings/options? As a channel setting? As a fixed list? What is the 'dynamic content'?
Your post is too unspecific. (for me)
|
Thanks for the response...
Basically, what I'm trying to do is display the forum title and a brief description (not the same exact description of the forum) within the header template of each forum\thread page.
For example... the header on this site: it has an image that says VBULLETIN.ORG then "The Official vBulletin Modifications Site." Doing what I'm trying to do here on this site, would change the image to the text "vB5 Programming Discussions" and then beneath it, a custom description of the forum this thread is in (instead of "Discuss anything related to programming for vBulletin 5.x series eg. PHP, MYSQL, XHTML, etc", something like "Programming modifications and customizations for vBulletin 5.x series" just for example).
I basically want to mimic the forum title\description text below the navigation bar inside of the header template, but use a secondary description for each forum\main page.
I hope that makes a little better sense.
--------------- Added [DATE]1604412325[/DATE] at [TIME]1604412325[/TIME] ---------------
Quote:
Originally Posted by shka
How do you want do manage this values? In admincp, as a value in settings/options? As a channel setting? As a fixed list?
|
Honestly, in 4.x, I did this all inside the header template. I would, however, love to be able to add a secondary description field for each forum inside the admincp to be able to control this content easier, but that's not 100% necessary. I can use if\else conditions in the header template as I did previously... I don't intend to add\change forums very frequently.