What's the trick to show actual country flags instead of showing the country names?
I'm working on a template and I haven't quite figured out how to do that..
Any help would be grateful..
qtx.
How to get actual flags instead of country names?
You mean with a simple HTML export?
You could give to the flags files the name of the countries, e.g. if you have "United Kingdom" as country, name the UK flag "United Kingdom.gif" and put in the export template something like:
You could give to the flags files the name of the countries, e.g. if you have "United Kingdom" as country, name the UK flag "United Kingdom.gif" and put in the export template something like:
Code: Select all
<img src="flags/$$ITEM_COUNTRY.gif" alt="$$ITEM_COUNTRY" title="$$ITEM_COUNTRY" />