Skip navigation
Gamloi7
Currently Being Moderated

How do I create a new page with the existing layout of the one I've already created?

Apr 5, 2012 7:31 AM

Tags: #template #css #newbie

Okay, I'm extremely new to DreamWeaver, just an FYI. I've been commisioned to develop a site for a company. There will be like 10 pages total on the site. I've created the home page, and I'm now attempting to make the second one. But I don't know how I can take the basic layout I created in the home page so I can add information for the other pages later. I tried saving as template, but I had to create editable regions and those got in the way. I even tried copying all the code from the original, but then the Spry menus won't work properly. I hope I conveyed my problem correctly. Any assistance will be more than helpful.

 

Thanks.

 
Replies
  • Currently Being Moderated
    Apr 5, 2012 7:44 AM   in reply to Gamloi7

    Can't you just edit>duplicate?

     

    I would do that, strip out the content of the original page and then save that as your third page.

     

    I've never used templates.  I don't like them - it's personal.  for a ten-page site, I'm not sure it would be worth it anyway.  If you are using CSS to style and position and not tables (I hope so), then you will put that in an external style sheet and link to it in each page. 

     

    Martin

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 5, 2012 7:48 AM   in reply to Gamloi7

    There are basicly two methods, firstly the template method you have already tried, and secondly the "includes" method. Some people use one or the other, some people mix the two. I use only the includes method.

     

    The includes method can be done in several ways. The PHP language has it's own method of doing includes. That's what I ususally use. You can also use the SHTML method. With the SHTML method, the material you wish to include is put in a normal HTML file, then in the file where the include will be put, it is done like this:

    <!--#include virtual="../includes/banner.html" -->

     

    . . .and the pages/files must have the shtml suffix, not html. That informs the server that yo are using server script in the file.

     

    I don't use Spry menus (or spry anything) so I can't suggest a reason you encountered a problem with it.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 5, 2012 10:03 AM   in reply to Gamloi7
    1. Open index.html
    2. File > SaveAs > page2.html
    3. Repeat for other site pages...
    4. Change content as required.

     

     

     

    Nancy O.

    Alt-Web Design & Publishing

    Web | Graphics | Print | Media  Specialists 

    http://alt-web.com/

    http://twitter.com/altweb

    http://alt-web.blogspot.com/

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points