Quote:
06-29-03 at 02:59 AM ajk said this in Post #247
The users at Drumsmith.com really like the Country Flag hack.
Is there a way I can use the small flags in one place, then use the large in another?
Thanks
|
This is easy in theory, but will require some hard coded changes.
Basicly you find a 2nd set of flags, all with the same file names as the small set only with something like "big_" tapped onto the front of the filename, or maybe save the flags on your server space in a diffrent location (such as "images/largeflags/").
Once you have the files you need to find the file that controls whichever flag you want to be displayed as large. lets say for example it's the postbit flag you want displayed large, you need to open admin/functions.php and search for the following line:
Code:
$flag = "<img src=\"images/flags/$Country.gif\" alt=\"$Countryalt\" align=\"absmiddle\" border=\"0\">";
All you need to do then is edit the line to point to your large image (be it adding the big_ or changing the path, etc..)
I hope this helps? Personally I recomend looking at the install file again and using it to make your edits, then sinatlling them, just be careful not to add/remove any needed quote marks.
good luck.