homepage Welcome to WebmasterWorld Guest from 54.161.192.135
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

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




msg:934139
 8:16 am on Nov 3, 2002 (gmt 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.

 

Brett_Tabke




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

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

Must be a pretty small site?

brotherhood of LAN




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

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.

rogerd




msg:934142
 2:08 pm on Nov 4, 2002 (gmt 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.

brotherhood of LAN




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

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 ;)

DaveAtIFG




msg:934144
 2:35 am on Nov 5, 2002 (gmt 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.

seofan




msg:934145
 2:40 am on Nov 5, 2002 (gmt 0)

Isn't Library Items an option?

caine




msg:934146
 4:58 pm on Nov 13, 2002 (gmt 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved