News:

AbanteCart v1.4.2 is released.

Main Menu

Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - nainafs

#1
Templates / Dynamic url in xml
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.

Forum Rules Code of conduct
AbanteCart.com 2010 -