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
Language chooser
-
- Regular
- Posts: 3652
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: Language chooser
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.
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.
=Don=