Author Topic: Dynamic url in xml  (Read 4705 times)

Offline nainafs

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
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.

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Dynamic url in xml
« Reply #1 on: August 12, 2013, 06:09:18 PM »
I think it is not exactly clear what you try to do. That is why this was not answered yet.

What section is this related to?
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

 

Powered by SMFPacks Social Login Mod