Forum Moderators: not2easy

Message Too Old, No Replies

CSS and Templates

         

ballboy

2:45 pm on May 2, 2006 (gmt 0)

10+ Year Member



I have always used "Templates" in Dreamweaver to create multiple page projects by creating a .dwt file.

Now that I use CSS and mainly hand code my work, I was curiouis to what is the best way to manage my base file.

Obviously all my style and layout is controlled by my CSS file. But if I create multiple pages from this base and say want to change the navigation lists, I would have to update all these pages manually.

What other options are there other than the rather messy dreamweaver .dwt file senario

Cheers
Tim

freewebsiteideas

4:36 pm on May 2, 2006 (gmt 0)

10+ Year Member



Forget the .dwt thing. Simply use a .css file and include that on all your pages.

ballboy

8:36 am on May 3, 2006 (gmt 0)

10+ Year Member



Could you elaborate a bit more please.

I have in the past used "editable and non-editable regions" in my template to automatically update all pages from one template. This is what I am trying to achieve but do not want to go down the dreamweaver route.

abbeyvet

9:16 am on May 3, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Wouldn't include pages do the same thing? I've never used DW, but I believe they accomplish the same thing.

Anything that you want to be able to edit accross a number of pages, create it as a separate file and include it (using PHP, ASP or SSI). Then by editing this external you edit all pages which include it.

ballboy

12:28 pm on May 3, 2006 (gmt 0)

10+ Year Member



Thanks for the help.

On my server I managed to get SSI working and achieved the exact results I was after.

I shall now spend some time looking into the other options such as php. asp. etc.

I think I've got a lot of reading to do :)