HREF Tag in templates pre-filled with current URL

  •  05-09-2005, 5:20 AM

    HREF Tag in templates pre-filled with current URL

    I have created some templates which are to be used in the CMS area of a client site, however the public side of this site is hosted on second server/URL for security reasons.
     
    The templates I have created have some system specific Tags in them, for example ("<a href=<customTag>''><img src=/images/dot.gif></a>"). The idea being that when the public facing site reads the information from the database it will replace the <customTag> tag with the relevant link. However as soon as I insert this template CuteEditor automaticaly assigns the full URL of the current site i.e. (<a href='http://curent.url@server.com/<customTag>').
     
    The same thing happens with the images, as you can see from the example above I am setting an img src using /images/dot.gif, this image will be found in the same folder on both the Public facing and Private CMS areas so there is no need for the absolute URL to be stored...
     
    Any help on this would be greatly appreciated, time is slipping away...
     
    Many thanks,
View Complete Thread