I would make this -
<!-- TemplateParam name="rootSite" type="text"
value="
http://www.whatever.com"
be this -
<!-- TemplateParam name="rootSite" type="text"
value="
http://www.whatever.com/"
Find (in current document) -
<a href="
Replace with -
<a href="@@(rootSite)@@
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"buddyq" <webforumsuser@macromedia.com> wrote in
message
news:elp9s5$7k1$1@forums.macromedia.com...
> 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
>