Page 1 of 1

Language chooser

Posted: Fri Apr 23, 2010 1:47 pm
by yellowled
Hi,

I know I can put the quickseach form almost anywhere on a page by adding the appropriate form code plus {serendipity_hookPlugin hook="quicksearch_plugin" hookAll="true"} to any given .tpl file.

Can I do the same thing with the language chooser select box from the multilingual plugin? Any hints on which form code to use for this?

YL

Re: Language chooser

Posted: Mon Apr 26, 2010 4:19 pm
by Don Chambers
I would install the plugin in the sidebar first. View the resulting html for two purposes: 1) the exact plugin name/id/hook, ie hook="whatever_plugin" and 2) the sidebar's form code. I would then duplicate the form code exactly as emitted by the sidebar plugin. Once you have that, hide the plugin from the sidebar.

I suppose you could get the same info by reviewing the plugin's php file, but I think my first suggestion would be faster, and is the direction I would likely take.