I'm looking for a variable to detect if the visitor is on a page created by the forum plugin, similar to {if $view == 'entry'} or {if $plugin_contactform_name}. I tried {if $pagetitle} which is used in all .tpl files used by the forum plugin, but that doesn't seem to work.
YL
Detecting forum plugin
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Detecting forum plugin
Hi!
{$staticpage_pagetitle} ?!
Regards,
Garvin
{$staticpage_pagetitle} ?!
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Detecting forum plugin
Yes. (Once I managed to understand the regexp used to convert the pagetitle to just letters and underscores.)garvinhicking wrote:{$staticpage_pagetitle} ?!
Thanks.
YL