3

Is there a way to use flags instead of the language shortcodes for the language switcher links in ImpressPages 4?

Unfortunately I wasn't able to find any information on this and am not really clear where that code is generated in the php files...

many thanks Michael

Michael S
  • 33
  • 3

1 Answers1

1

You need to override default view file that prints language selection. In this case it's Ip/Internal/Config/view/languages.php

To do that you need to create a corresponding file in your theme's override directory. The path to the file should be like this - Theme/YOUR_THEME_NAME/Ip/Internal/Config/view/languages.php

More about view file and how to override them - http://www.impresspages.org/docs/view

Just copy the original view file to a new location and make any changes you like. And you'll be safe with system updates.