Move language selector to header and make it buttons - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Community Archive (https://community.mybb.com/forum-106.html) +--- Forum: Archived Forums (https://community.mybb.com/forum-143.html) +---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html) +----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html) +------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html) +------ Thread: Move language selector to header and make it buttons (/thread-146116.html) |
Move language selector to header and make it buttons - i-Discover - 2013-10-01 Hi, i've been looking for hours to achieve what i am looking for, so i finally decided to start new thread concerning this. I'm currently developing my mybb forum on localhost. What i'm trying to do is to move the language selector to top of the header and instead make it an image where you can click, so i couldn't be able to do that so what i did so far was use the link generated when you select a language. fore example <a class="english" href http://community.mybb.com/index.php?my_post_key=ac20ee2a12c45f154327dcdd68fd4be0&language=pirate alt="pirate language" title="pirate english"><img src="images/pirateflag.png"></a> So i've styled and moved to where i wanted but the problem is if someone clicks on the pirateflag to select the language, <strike>it doesn't work on some web browsers because there is a code in generated link.</strike> So i'd appreciate if you could help me show a professional/proper way of doing this. Thank you RE: Move language selector to header and make it buttons - Arbaz - 2013-10-01 When you say "It doesn't work", what exactly doesn't happen? For example: If doesn't go to a certain page, doesn't change the language, etc. RE: Move language selector to header and make it buttons - i-Discover - 2013-10-01 Sorry, it's not with the browsers. I've just tested, the problem is if you're logged in, clicking on the flag doesn't let you change the language, what happens is that you can see the url being changed but nothing happens. Everything is ok when you're logged out and want to change/choose a language. RE: Move language selector to header and make it buttons - .m. - 2013-10-01 see reply here RE: Move language selector to header and make it buttons - i-Discover - 2013-10-01 Thank you guys for your answers, Thank you So much @.m.,that was what i was looking for ! |