Is there any way of controlling a plugin so it only displays on the index page?
In particular I wanted to do this for the ‘External PHP Application’ and ‘HTML Nugget’ - I don't want particular plugins site wide.
Thanks in advance
No, it does not..... but I think it would be a nice addition. Current options for the HTML nugget are extended entry only, overview pages, and all times.garvinhicking wrote:I think the HTML nugget should have an option for that?!
Thanks Gavin, celebrating the Germany win I guessgarvinhicking wrote:Hi!
Yes, you can edit the sidebar.tpl template file, and inside the foreach loop make a check for if $startpage and pluginname == BLABLA then do nothing, else show the plugin.
Hope that gets the idea, I don't have the time for actual code right now
Regards,
Garvin
Ok what I am trying to achieve is being able to select which plugins appear on each page such as on an individual blog post, static pages, and category pages or even page 2 or 3 of the main blog.Don Chambers wrote:I was thinking each html nugget had a unique identifier... but that does not seem to be the case. They all have the same class of container_serendipity_html_nugget_plugin (container_ is a prefix).... are you using nuggets on any other pages, or just the front page?