Welcome to WebmasterWorld Guest from 54.224.96.57

Forum Moderators: open

Message Too Old, No Replies

dreamweaver page linking

is there a way to link all my pages at once(not 1 by 1)?

     
8:16 am on Nov 3, 2002 (gmt 0)

Preferred Member

10+ Year Member

joined:June 15, 2002
posts:396
votes: 0


Hi all. I just built a new site and I want to link the whole site together(all pages to all pages) can I do this without spending lots of time buy linking each pages 1 by 1?

teeceo.

p.s. I'm looking for a butten to push and "bang" everything is linked.

9:02 am on Nov 4, 2002 (gmt 0)

Administrator from US 

WebmasterWorld Administrator brett_tabke is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Sept 21, 1999
posts:38057
votes: 12


Not that I know of with DM.Hand coding is the only way I can think of.

Must be a pretty small site?

1:46 pm on Nov 4, 2002 (gmt 0)

Moderator from GB 

WebmasterWorld Administrator brotherhood_of_lan is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 30, 2002
posts:4842
votes: 1


teeceo, what prog are you using?

Dreamweavers Find and Replace would probably be handy for this, with use of their regular expressions even ;)

Say you wanted a nav bar at the top of each page, maybe youd want to replace "<body>" with "<body>plus<yourcode>"........if you done this sitewide then youre extra code would appear on all selected pages with <body> in it.

It should be easy to find/search/replace if all youre code across the pages is fairly uniform.

If it's not, say for instance your body has some style attributes with it, you might need to use regular expressions to make sure that the code gets placed on all pages.

Hope this helps, I guess it really depends on what tools you have at your disposal ;)

//added
Most would say to backup your site if youre not familiar with find/replace and doing sitewide changes.

2:08 pm on Nov 4, 2002 (gmt 0)

Administrator

WebmasterWorld Administrator rogerd is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 2, 2000
posts:9686
votes: 0


A template approach could work, too, but I think teeceo's main desire is something that would create the link list automatically, rather than a means of propagating it among the pages.

I don't know of such a tool. Here's one thought, though - you could use a free tool like Xenu to create a site map or list of pages - these will be in HTML link form. Then you just adjust the link text, and paste it into your DW template.

One other thing - linking all pages from all pages may not be the best approach, but that's another issue still.

2:18 pm on Nov 4, 2002 (gmt 0)

Moderator from GB 

WebmasterWorld Administrator brotherhood_of_lan is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 30, 2002
posts:4842
votes: 1


One other thing - linking all pages from all pages may not be the best approach, but that's another issue still.

I guess another issue what anchor text would appear if you ran such a script/option.

I've been playing around with small SE script snippets, one of them is to gather all links in a page. Maybe if the script could gather all pages in the site, filter them for uniques, then add your own anchor text you could end up with something like you want.

It wouldnt be push and bang though ;)

2:35 am on Nov 5, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 21, 1999
posts:2141
votes: 0


Simply designing a "topbar" or "bottombar" (top or bottom of the page) menu and using an SSI (server side include) might be a good approach. After it's built, use DWs search and replace as boL suggested to add the include to all of the pages.
2:40 am on Nov 5, 2002 (gmt 0)

Full Member

10+ Year Member

joined:Feb 21, 2002
posts:228
votes: 0


Isn't Library Items an option?
4:58 pm on Nov 13, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 21, 2001
posts:2489
votes: 0


Library would be one way round it, or a fixed template structure.

but would have to follow Brett's comments, on the site being very small to want to do this, unless it unless it is only particular links which you would want on all pages, and other links being dependant on theme structure.