Hi i installed smf new v1.1.6 clean copy
only the Language Drop Down installed with french langauge pack .
theme
http://custom.simplemachines.org/themes/index.php?lemma=283 corp lt
i need to know where what should be changed so that
i can put 2 image one english and one french ....
i m waiting ....
its more than 24 hours ... so had to bump
Do you want to have an image/button that says English and one that says French?
Yess .... i need an image in this
http://custom.simplemachines.org/themes/index.php?lemma=283
theme
not in the default
bump
Try doing these edits:
Find this code ('Load.php'):
// Valid Markup only..
if (isset($_POST['changelang']))
$_POST['changelang'] = (int) $_POST['changelang'];
Replace with this code:
// Valid Markup only..
if (isset($_REQUEST['changelang']))
$_REQUEST['changelang'] = (int) $_REQUEST['changelang'];
Find this code ('/Themes/{themename}/index.template.php'):
template_language_select();
Replace it with your image code. Below is an example.
echo'<a href="', $scripturl, '?language=french;changelang"><img src="french.gif" /></a>';