Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Switch site path like a language switcher?

Featured Lock Resolved Issue
Hi, I just need a inspiration about the following problem...

I would like to use a dropdown selection field in the top bar of my joomshaper template to switch the path, eg. like a language switcher does...

For Example we have to options in our select dropdown like:

location 1
location 2

Now it should switch the site path no matter on which site you are:

current site:

http://mydomain.com/location1/about-us/index.php

Now when select in top bar to location2:

http://mydomain.com/location2/about-us/index.php

Any solutions...
Thanks in advance...

2 Answers

Toufiq - Staff

More than a month ago #Permalink
Hi there,

Thank you for sharing your thought. Your query is very useful to us. By default, the language switcher module has a dropdown option. If you want to build similar things then you have to do it by yourself. Because of that, customization support doesn't accept our forum support rules.

My personal opinion is that, please try to follow the links code
https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_select
https://codepen.io/ericrasch/pen/zjDBx

-Thanks


There are replies in this post but you are not allowed to view the replies from this post.

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 134
Toufiq

Toufiq

Total Accepted Answers: 106
Sifat

Sifat

Total Accepted Answers: 69
IP

Ian Proffer

Total Accepted Answers: 1
G

Geert

Total Accepted Answers: 1

116

Templates

300069

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us