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|
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 ;)
Most would say to backup your site if youre not familiar with find/replace and doing sitewide changes.
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|
|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 ;)
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.
Isn't Library Items an option?
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.