[SOLVED] Link a flag to an external site / URL
Posted: Thu Dec 03, 2009 7:57 pm
Hello,
I'd like to add two additional flags USA and China to my current MLE install. However these flags need to link to different external URL's, not internal language pages within the CMSMS install.
So the obvious place to start is the config_lang.php and add in the appropriate code for USA and Chinese flag images, alt text etc.
Is there a way I can set up an absolute URL for each flag within config_lang.php that will go to "http://www.google.com" for example? Or could I set up a re-direct?
The other obvious option is to just add the flag images and hard code the URL within my template but I'd prefer to keep it contained within one place for neatness.
I'm using Version 1.2.3 of CMSMS MLE
Thanks
Jason
I'd like to add two additional flags USA and China to my current MLE install. However these flags need to link to different external URL's, not internal language pages within the CMSMS install.
So the obvious place to start is the config_lang.php and add in the appropriate code for USA and Chinese flag images, alt text etc.
Is there a way I can set up an absolute URL for each flag within config_lang.php that will go to "http://www.google.com" for example? Or could I set up a re-direct?
The other obvious option is to just add the flag images and hard code the URL within my template but I'd prefer to keep it contained within one place for neatness.
I'm using Version 1.2.3 of CMSMS MLE
Thanks
Jason