Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to add a link to every page in site

Status
Not open for further replies.

Pistol

MIS
Jan 29, 2001
59
US
I need to add a "Feedback" link to every page, about 300 pages. In Front Page you can do it by adding a border to the bottom of every page in the site, and automate the process.

Is there anyway in Dreamweaver to automate this process?

I have to put it on HTM,& ASP files. Thanks
 
I know of a couple of methods.

First you can use templates - but I'm assuming you do not have your site set up to utilize templates.

Another method I would use. Is the excellent find and replace command.

For example, lets say on every page you have identical writing like. "Copywrite 2002, webpagedesign all rights reserved" or something like that.

You could first open find and replace
--In drop down Find In: Select Folder
--Box that pops up to the right of Find In: browse to the folder (most often the main folder the website is in).
--In "Search For" Select Source Code
--Box to the right of Search for: Copy and paste your text. in this case it is: Copywrite 2002, webpagedesign all rights reserved
--Box Replace With: <a href= &quot;mailto:pistol@yourdomain.com&quot;>Feedback</a> Copywrite 2002 Pistol, All Rights Reserved
--Hit Find all - this will display all documents that found the text you were looking for.
--Make sure everything is correct, hit replace all.

Naturally you have to replace the email address I put with the valid one. And you don't have to use the copywrite line I did - anything specific that is on every page close to where you want the feedback to be at will work.

Hope this helps.

Stuart
 
I have thought about using the find and replace command, but the pages do not necessarialy all have a copyright on everypage, and no I'm not using templates.
 
Anything you can find that is very close to where you want the link to be will work great - I just mentioned copywrite due to it being a very common item.



Stuart
 
try find and replace with:
find
</body>
replace with
<a href=&quot;mailto:you@domain.com&quot;>feedback</a>
</body>

every page that gets displayed will have the link but because of no templates you will have to manualy check each page especially if you are using frames!! Live long and make your kids suffer..
 
Excellent Cheech! I was racking my brain for another example. Forgot an item common on every single webpage

Stuart
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top