Is there a way to apply a style sheet to a ****load of pages (ie. photo gallery) without manually inserting the line of code into each individual page? Could I maybe apply a style sheet to a whole folder of html docs?
how was the gallery created? If by some template, it would have been wise to insert it then …
But you can do a site search and replace with something like dreamweaver. Then you can search the entire collection of pages and replace </head> with
<link href=“stylesheet.css” rel=“stylesheet” type=“text/css”></head> or using whatever your stylesheets name is
yea there is a few ways to do this in DW. Long live the template and nested templates.
Well, I used PS 7’s Automate -> Photo Gallery. And speaking of templates, do you know of where I can get some dynamic photo gallery templates? Maybe one that has a slider bar? Or maybe one that is set up in a layer or inline frame where a user could just click a next button?
And if you could, please sirs, explain in a little more detail about Dreamweaver’s templates and “nested templates”?
in using PS you’d create (or edit) the templates used for the photo gallery… lets see… Ill have to go find the path.
For winXP in PS CS its
C:\Program Files\Adobe\Adobe Photoshop CS\Presets\Web Photo Gallery
Im sure the PS 7 path is basically the same. Just go in there and make a new template (copying an existing folder with a new name) and add in your style sheet in the pages needed so it will be available in each page when generated by PS.
For more photo gallery templates, check adobe’s site or google.
Dreamweaver templates are html pages you create that contain content that is shared among multiple pages.
For example, you might design a template in dreamweaver that has a header with a menu and a footer but an empty space for actual body content. Then you would make new web pages using that page as a template and your header, menu and footer are already there for you. All you have to worry about is filling in the empty space for the body.
Now, the best things about templates is that if you go back and edit something in the template, say add a new menu item, dreamweaver will be able to go through each web page that uses that template and update it adding the new menu item automatically. This way, for common elements in your website, if something needs to change, all you need to do is change the template and all the other pages will automatically update.
Nested templates are just templates created from other templates. This way you can kind of have sub categories. So, for instance, if you have a pets web page that talks about cats and dogs whose deisgn changes a little depending on whether its in the dogs section or cats section, then you would make one main template for all the common site design, then make 2 separate templates using that main template for each different designs for the cat and dog pages. Then you have 3 templates - 1 for all site changes, one for cat pages changes and one for dog.
For more check dreamweaver help and/or google.
good post sen. I was going to say just read the help files. Also if you are looking for photo gallery stuff. Dreamweaver as an extension for that.
Thank you very much for the help guys, I appreciate the time you took to explain that stuff to me, Seno.
my 2 pennies: Macromedia also owns a program called homesite, I keep it around. It has an extended find a replace feature. you can do a find and replace for a just one document, all open documents, or a whole folder; plus a lot of other stuff.
Dreamweaver does that norie
oh well…, homesite does it sexier (thunder-stealer)
they integrated most of the homesite stuff in dreamweaver since MX, but yes, homesite is not without its loyal fans :pleased: