Answered
Using Template Params with links
Hi all, I was wondering how I could use a template parameters
to change all links' prefix. For example all pages on my site will
use relative paths to pages within the site. A few pages in the
site are secure and therefore get directed to a "secure" server so
the URL becomes different. Those pages cannot use relative URL's to
get back to the 'normal', unsecured, site so they must use complete
path "
http://www.whatever.com/" in
front of the links. I'm thinking I can make two template params
like so:
<!-- TemplateParam name="rootSite" type="text" value=" http://www.whatever.com" -->
<!-- TemplateParam name="pageSecure" type="boolean" value="true" -->
but I some how need it to search through the document for all links and put the 'rootSite' inserted before whats already there. Can this be done??? If so, how?
Thanks in advance!
Buddy
<!-- TemplateParam name="rootSite" type="text" value=" http://www.whatever.com" -->
<!-- TemplateParam name="pageSecure" type="boolean" value="true" -->
but I some how need it to search through the document for all links and put the 'rootSite' inserted before whats already there. Can this be done??? If so, how?
Thanks in advance!
Buddy
