I want to replace the dropdown meny with the language choises with two flags of the available languages.
But what shall the code be in the link to get it right?
Replace Multilangual dropdown meny with clickable images
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
You can create your own HTML nugget plugin on the sidebar for that -- just look at the default HTML outpput of the language dropdown, and then copy+paste that to your nugget. There you can then make your changes and add graphics or whatever you like.
Best regards,
Garvin
You can create your own HTML nugget plugin on the sidebar for that -- just look at the default HTML outpput of the language dropdown, and then copy+paste that to your nugget. There you can then make your changes and add graphics or whatever you like.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
I´m sry but I don´t get it how to get the default HTML output.
The form code for the dropdown looks like this:
The form code for the dropdown looks like this:
Code: Select all
<form id="language_chooser" action="/paloma/index.php?/archives/5-Nutrition.html" method="post"><div><select style="font-size: 9px;" name="user_language" onchange="document.getElementById('language_chooser').submit();"><option value="en">English</option><option value="es" selected="selected">Spanish</option></select><input name="submit" value="¡Ir!" size="4" type="submit"></div></form>-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Yes, that code you pasted is the HTML output, you could just use that for your custom HTML nugget sidebar!
Best regards,
Garvin
Yes, that code you pasted is the HTML output, you could just use that for your custom HTML nugget sidebar!
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/