Tuesday, March 23, 2010

Apply multiple templates to one html...

I have an index.dwt template that I'm using for every page in
my website but within the different pages I need to have another
template specific to that page only. I can't seem to apply the
second template without overwriting everything on the page.



Check these out for a visual of what I'm trying to do.


http://studentpages.scad.edu/~dparso20/stuff/template1.jpg


http://studentpages.scad.edu/~dparso20/stuff/template2.jpg


http://studentpages.scad.edu/~dparso20/stuff/template3.jpg



The third image is what I'd like to have but can't seem to
figure out. Thanks in advance for your help.



EDIT: I think my problem was I was trying to insert a
template within a template. Hopefully that was it and I can figure
this outApply multiple templates to one html...
Any given page can only be child to a single template. Sorry.



--

Murray --- ICQ 71997575

Adobe Community Expert

(If you *MUST* email me, don't LAUGH when you do so!)

==================


http://www.dreamweavermx-templates.com
- Template Triage!


http://www.projectseven.com/go
- DW FAQs, Tutorials %26amp; Resources


http://www.dwfaq.com - DW FAQs,
Tutorials %26amp; Resources


http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes

==================





''Objectnull'' %26lt;webforumsuser@macromedia.com%26gt; wrote in
message

news:euh8cf$67p$1@forums.macromedia.com...

%26gt;I have an index.dwt template that I'm using for every
page in my website

%26gt;but

%26gt; within the different pages I need to have another
template specific to

%26gt; that

%26gt; page only. I can't seem to apply the second template
without overwriting

%26gt; everything on the page.

%26gt;

%26gt; Check these out for a visual of what I'm trying to do.

%26gt;
http://studentpages.scad.edu/~dparso20/stuff/template1.jpg

%26gt;
http://studentpages.scad.edu/~dparso20/stuff/template2.jpg

%26gt;
http://studentpages.scad.edu/~dparso20/stuff/template3.jpg

%26gt;

%26gt; The third image is what I'd like to have but can't seem
to figure out.

%26gt; Thanks

%26gt; in advance for your help.

%26gt;





Apply multiple templates to one html...


%26gt;

%26gt; Check these out for a visual of what I'm trying to do.

%26gt;
http://studentpages.scad.edu/~dparso20/stuff/template1.jpg

%26gt;
http://studentpages.scad.edu/~dparso20/stuff/template2.jpg

%26gt;
http://studentpages.scad.edu/~dparso20/stuff/template3.jpg



some of those layouts are very similar in look, except for
what photos show

at the top.



so- If the layout was the same, you could use one template,
with an editable

region at the top for the header section, and an editable
region for the

main content.



in the top editable region, use a dw Library item or SSI so
all the pages

using one style of header can be updated in one fell swoop.



the third page image looks much the same, but has some more
photos further

down the page? Then put an editable region there. leave it
empty in pages

you don't anything, and insert a library item or SSI for
pages that do.



If the layout is really different- then use different
templates.

If the layout is the same, just different groups of pages
will have

different content in certain defined areas, use the above
method.

It's best to stick with as few templates as possible.



suggest you not explore nested templates.





--

Alan

Adobe Community Expert, dreamweaver




http://www.adobe.com/communities/experts/







No comments:

Post a Comment