how can I format the address output for different country?
Example:
Singapore:
Country, Postal Code
Malaysia:
Postal Code, City
Is there overriding i.e. location-sg.tpl.php or location-my.tpl.php?
how can I format the address output for different country?
Example:
Singapore:
Country, Postal Code
Malaysia:
Postal Code, City
Is there overriding i.e. location-sg.tpl.php or location-my.tpl.php?
Comments
Comment #1
jessicakoh commentedhttp://drupal.org/node/115323
Comment #2
jessicakoh commentedI tried the method on http://drupal.org/node/115323.
But it seem there is no effect on the output.
Any suggestion?
Comment #3
yesct commentedI think there are a few different approaches, please others correct or add to this list:
use a view, and add displays for each country or the countries that use a particular order, so filter by those countries, then in that display in that view, reorder the fields
or
use a template file and theme it (AH this was your idea, I see now, re-reading your question.) Does anyone use this system? or know how to implement it?
maybe that will spur some others to post more ideas of how to get this to work for you.
Comment #4
Anonymous (not verified) commented"Does anyone use this system? or know how to implement it?"
Comment #5
ankur commentedThis can be done through the theming API