Detecting forum plugin

Creating and modifying plugins.
Post Reply
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Detecting forum plugin

Post by yellowled »

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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Detecting forum plugin

Post by garvinhicking »

Hi!

{$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/
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Detecting forum plugin

Post by yellowled »

garvinhicking wrote:{$staticpage_pagetitle} ?!
Yes. (Once I managed to understand the regexp used to convert the pagetitle to just letters and underscores.)

Thanks.

YL
Post Reply