How can I get the effect of a Dreamweaver template without the template?
August 24, 2006 2:34 PM
Subscribe
How can I make text in one cell on one html page appear in the same cell on a different subpage?
Live and learn I guess. I have a website where every page has a table cell in the same place. Originally it was designed so that information, links, images, etc. could go in that space that was relevant to the information in the main part of the page--sort of like a sidebar. Now it appears that this is only going to happen on some of the pages.
My boss wants to maintain the page layout as it is, but we don't want that "sidebar" cell to be empty on some of the pages, so he wants to put the "news" content from the front page (which also has this sidebar cell) on all the pages where the sidebar is empty. Of course all the pages are more or less done now.
My website making skill is pretty limited, clearly. I'm using Dreamweaver 8, and I've determined that I probably could have solved this pretty easily with nested templates if I had started with them from the beginning. Now that it seems too late for that, is there a simple Dreamweaver way to change the text in one place and have the change reflected wherever else I say without wrecking the existing content on a subpage? Or, is there an HTML way that I could put the same code in each cell that then somehow grabs the text from somewhere and puts it in the cell (nicely formatted)?
posted by sevenless to computers & internet (6 comments total)
1 user marked this as a favorite
Server-side includes allow precisely the modularity you're looking for.
Look up "server-side includes" on Google and you'll find a ton of information about them.
posted by jayder at 2:46 PM on August 24, 2006