dev.mylifejournal.ru : Plugin Tag in Menu Slot https://dev.mylifejournal.ru Laatste forum onderwerpen Cotonti en Sun, 07 Dec 2025 02:13:00 -0000 Sean Right. Well I think I'll just find a way to put {PLUGIN_CALENDAR} directly into the TPL, sounds like an easier solution. Thanks for the help though!

]]>
Za, 25 Jun 2011 19:53:44 -0000
urlkiller from a systems point of view i guess not.

you need to somehow piggyback the calendar to cfg.menu2 ....and since that uses the global tpl tags you could try to just add

$cfg['menu2'] .= 'your calendar code but not the TAG!!'

this need to be done with either as corehack or a small plugin. (or just add it into the calndar plugin)

 

]]>
Za, 25 Jun 2011 19:36:52 -0000
Sean On the website im developing, I have {PHP.cfg.menu2} setup with html code for a sidebar, with a search box, quick links, etc. So on every page I'd like to have a side sidebar, I add {PHP.cfg.menu2} into the TPL. What I'd like to do is add the mini calendar onto this side bar, so I need {PLUGIN_CALENDAR} to get recognized as a tag within {PHP.cfg.menu2} , where I have my sidebar html. Does this make sense?

]]>
Za, 25 Jun 2011 18:40:32 -0000
pieter Why do you want to put a plugincode in a menu slot?

Instead of  {PLUGIN_CALENDAR}, you want to put {PHP.cfg.menu2}.

]]>
Za, 25 Jun 2011 18:22:40 -0000
Sean Hi Everyone,

I'm wondering if its possible to get Cotonti to parse a plugin tag thats in a menu slot? 

More specifically, I have the tag {PLUGIN_CALENDAR}, from the plugin Calendar 2.1, in Menu Slot 2 and {PHP.cfg.menu2} in index.tpl. It looks like Cotonti isn't recognizing the tag, because only the tag's text shows up, no mini calendar. 

Thanks a lot

]]>
Za, 25 Jun 2011 17:58:35 -0000