We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Forum Plugin tags

Development and Programming

cssboy's avatar
cssboy
3 posts
17 years ago
cssboy's avatar cssboy

I am trying to add a plugin I have created to the forum template and the tag {exp:my_class} is not evaluated in the template.

If I try a different plugin tag, it still just shows up in my rendered page, curly brackets and all.

I notice that plugin tags are being used in theme_rss and theme_atom and they work there, how come they don’t work in all of the forum templates?

       
BlackHelix's avatar
BlackHelix
226 posts
17 years ago
BlackHelix's avatar BlackHelix

The short answer is that the forum uses a different templating engine that won’t use plugins or other EE tags. Reason? To save on resources–the forum templating engine is faster and more lightweight.

That said, you can still run the forum through the regular engine, in which case your plugin should work. Here is the doc page that explains the {exp:forum} tag you want.

Hope that works!

       
cssboy's avatar
cssboy
3 posts
17 years ago
cssboy's avatar cssboy

I am still confused about why the plugin tag renders correctly in the forum RSS template, but not in regular page templates.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.