Piwigo.org

You are not logged in. (Register / Login)

Announcement

  • Forum Index
  •  » Extensions
  •  » [resolved] how to reduce number of country flags in 'Language Switch Menubar'

#1 2017-03-01 13:38:31

moose
Member
Location: Upper Bavaria, Germany
Registered: 2013-01-03
Posts: 35

[resolved] how to reduce number of country flags in 'Language Switch Menubar'

Hi folks,

I want to customize my piwigo site for two languages.

I've been advised to choose extension 'Language Switch' to show some flags simplyfiing the user to choose a language.

But, I'm running the bootstrap (darkroom) theme and therfor can't use this extension.  The system remarks I should use 'Bootstrap Default Language Switch' instead. But although I installed and activated it it doesn't show up wether in the list of installed nor in the list of activated plugins.

So I tried extension 'Language Switch Menubar' which works fine but shows a big number of flags (see screenshot).

How can I reduce this big number of flags to the only two I'm using and how to keep this choice fixed after an update of this extension appears?

Greetinx

moose


Uploaded Images

Offline

 

#2 2017-03-01 14:55:56

PEU
Member
Location: Buenos Aires, Argentina
Registered: 2017-02-12
Posts: 33

Re: [resolved] how to reduce number of country flags in 'Language Switch Menubar'

in config>languages deactivate all the ones you don't need

Offline

 

#3 2017-03-01 15:25:39

moose
Member
Location: Upper Bavaria, Germany
Registered: 2013-01-03
Posts: 35

Re: [resolved] how to reduce number of country flags in 'Language Switch Menubar'

Thank you, PEU!

I works like a charme.

Greetinx

moose

Offline

 

#4 2017-03-03 12:01:49

teekay
Member
Registered: 2013-06-12
Posts: 301

Re: [resolved] how to reduce number of country flags in 'Language Switch Menubar'

The default language switch plugin will be supported in next version (1.5.7)

Offline

 

#5 2017-03-03 13:59:35

plg
Piwigo Team
Location: Nantes, France, Europe
Registered: 2002-04-05
Posts: 13080
Website

Re: [resolved] how to reduce number of country flags in 'Language Switch Menubar'

teekay wrote:

The default language switch plugin will be supported in next version (1.5.7)

Please tell me more. I think we should drop the [extension by philb] Bootstrap Default Language Switch see this discussion on [Github] bootstrapdefault-language-switch issue #2

In my opinion, like on Batch Downloader we should let the theme overwrite the template [Github] Piwigo-BatchDownloader issue #12


Latest blog post (March 23th 2017) Piwigo.com Enterprise plans, now official!

Offline

 

#6 2017-03-03 14:10:13

teekay
Member
Registered: 2013-06-12
Posts: 301

Re: [resolved] how to reduce number of country flags in 'Language Switch Menubar'

plg wrote:

teekay wrote:

The default language switch plugin will be supported in next version (1.5.7)

Please tell me more. I think we should drop the [extension by philb] Bootstrap Default Language Switch see this discussion on [Github] bootstrapdefault-language-switch issue #2

In my opinion, like on Batch Downloader we should let the theme overwrite the template [Github] Piwigo-BatchDownloader issue #12

Hi plg,

what I do now is override the check in bootstrapdefault and use jQuery voodoo to un-switchbox'ify it and turn it into a "standard" bootstrap dropdown menu. See [Github] piwigo-bootstrap-darkroom commit fb779007 I guess Phil wouldn't want such a mess in boostrapdefault.
Being able to override the template would be the best option, indeed.

Offline

 

#7 2017-03-03 14:13:50

plg
Piwigo Team
Location: Nantes, France, Europe
Registered: 2002-04-05
Posts: 13080
Website

Re: [resolved] how to reduce number of country flags in 'Language Switch Menubar'

teekay wrote:

Being able to override the template would be the best option, indeed.

OK, then forget about the voodoo :-) I'm going to make template override possible.


Latest blog post (March 23th 2017) Piwigo.com Enterprise plans, now official!

Offline

 

#8 2017-03-03 16:00:05

plg
Piwigo Team
Location: Nantes, France, Europe
Registered: 2002-04-05
Posts: 13080
Website

Re: [resolved] how to reduce number of country flags in 'Language Switch Menubar'


Latest blog post (March 23th 2017) Piwigo.com Enterprise plans, now official!

Offline

 

#9 2017-03-03 16:03:22

teekay
Member
Registered: 2013-06-12
Posts: 301

Re: [resolved] how to reduce number of country flags in 'Language Switch Menubar'

Awesome!

Offline

 

#10 2017-03-06 08:30:31

moose
Member
Location: Upper Bavaria, Germany
Registered: 2013-01-03
Posts: 35

Re: [resolved] how to reduce number of country flags in 'Language Switch Menubar'

Hi plg and teekay,

thanks for your further replies and your outstand support!

Greetinx,

moose

Offline

 
  • Forum Index
  •  » Extensions
  •  » [resolved] how to reduce number of country flags in 'Language Switch Menubar'

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2017 · Contact