Pages (2):    1 2
Member
Member
Soleil   21-11-2011, 11:57
#11

Thank you very much acrylian, but I cannot find this plugin. According to your documentation it should be flag_language_selector. Could you please tell me where I can find it in my gallery codes?

Administrator
Administrator
fretzl   21-11-2011, 12:29
#12

http://www.zenphoto.org/news/category/extensions/4

Member
Member
Soleil   21-11-2011, 12:40
#13

Hello Fretzi,

Thanks a lot. But it is immpossible to see/download this plugin. The plugin page (info/download) has been blocked.

Administrator
Administrator
acrylian   21-11-2011, 13:11
#14

You cannot download it as it is a standard plugin included in the Zenphoto package (which is noted on the page). To add further: The flags are actually an option of the dynamic_locale plugin. The flags itself are a component of the translation files within /zp-core/locale. As said you will need to do some changes as you of course should not change these (they will be overwritten on updates anyway).

Member
Member
Soleil   21-11-2011, 13:20
#15

On my zenphoto CMS I have unchecked the flags in dynamic_locale, but I get nevertheless flags.

Administrator
Administrator
acrylian   21-11-2011, 16:41
#16

If you use the static html cachec you of course need to clear that to see changes.

Member
Member
mikeque   23-11-2011, 21:09
#17

I am experiencing the same thing too, where I cannot get the flags to disappear. I am trying to get a pulldown menu in its place as was before the flag selector feature was introduced.

One should use printLanguageSelector(); in the theme where it ought to appear, and uncheck "use flags" in the dynamic locale option, right?

Administrator
Administrator
acrylian   23-11-2011, 21:14
#18

Yes. Looking at the code (to remind myself) you can either set the only parameter to TRUE to enable flags or NULL/FALSE to disable them (NULL is default). If it is set to NULL the plugin option is checked.

Member
Member
mikeque   25-11-2011, 16:37
#19

Sorry, I had seen that and made a syntax error. thanks.
For the record, this is how to place the function in a theme: printLanguageSelector(false);
Or printLanguageSelector(); and disable it in the admin.

I had another variable in the parenthesis, something from the past that is not relevant, and that made it so that only the flags would show no matter what the setting was.

Pages (2):    1 2
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.