Show Posts


Messages - nainafs

Pages: [1]
1
Templates / Dynamic url in xml
« on: May 28, 2013, 03:50:26 AM »
Is there way in xml to dynamically change the url of the image that am loading. Iam actually displaying a image from a server.

For Ex: If the user browses with http the image source should read as

http
Likewise if the user browses with a secure http i.e https the image source should read as

https
How can this be achieved in xml .any help could be greatly appreciated.

Iam trying to do this in the language file of AbanteCart cart. By default it is considering the payment name to be  "text_title" in the xml language file.

Pages: [1]

Powered by SMFPacks Social Login Mod