Using dwt templates in Expression Web
LearnExpression Support Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Using dwt templates in Expression Web Expand / Collapse
Author
Message
Posted 7/3/2008 5:04:15 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 7/4/2008 4:55:33 AM
Posts: 2, Visits: 14
I am creating a website using expression web and would like to have a navigation at the top of the site that never changes and one on the left column that changes depending on what page you are on. I am using a template provided with the program. I can not figure out how I would get around it.... Do I need a different master.dwt for each page that I am creating?

Any help would be much appreciated

Kindest regards
Post #1410
Posted 7/3/2008 1:58:10 PM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 11/10/2008 8:31:17 PM
Posts: 26, Visits: 40
I create the dwt and have the left side navigation as an editable region. I then use includes for the menu and change them depending where on the site you are.

Examples:

Main page http://www.family-genealogy-online.com/

Sub page with different sectional menu http://www.family-genealogy-online.com/Geary/


Pat Geary
MS MVP FrontPage
http://www.genealogy-web-creations.com/
http://www.genealogy-computer-tips.com/
http://www.expression-web-tutorials.com/
Post #1411
Posted 7/4/2008 4:15:14 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 7/4/2008 4:55:33 AM
Posts: 2, Visits: 14
Thanks for your help. I have had a look at your page, but still can't figure out how to do it.

I spent all day yesterday playing around with it. I managed to write the code for navigation on each page but eacg time I went back to it, it had disappeared. Also, when it had saved and I clicked the link, the page didn't come up. I tried to make a hyperlink by highlighting the chosen word in the code and choosing the hyperlink icon, but it just placed the reference on the top of the page.

I hope that someone will be able to help me!
Kindest regards

Post #1415
Posted 7/6/2008 8:05:31 AM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 11/10/2008 8:31:17 PM
Posts: 26, Visits: 40
Can you post what you are trying to do somewhere so I can see it?

pat


Pat Geary
MS MVP FrontPage
http://www.genealogy-web-creations.com/
http://www.genealogy-computer-tips.com/
http://www.expression-web-tutorials.com/
Post #1416
Posted 7/6/2008 8:21:03 AM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 11/10/2008 8:31:17 PM
Posts: 26, Visits: 40
This is the actual dwt -


http://www.family-genealogy-online.com/templates/revised-genealogy.dwt


This is the main menu that is an inlcude


http://www.family-genealogy-online.com/_includes/main-menu.html


This is the code that inserts that menu


<div id="leftnav">
<!-- #BeginEditable "mainmenu" -->
<!--webbot bot="Include" u-include="../_includes/main-menu.html" tag="BODY" -->
<!-- #EndEditable --></div>

When you want to insert a different menu for a section, you double click the include in design view and insert the other menu. That area of the dwt is an editable region.

pat



Pat Geary
MS MVP FrontPage
http://www.genealogy-web-creations.com/
http://www.genealogy-computer-tips.com/
http://www.expression-web-tutorials.com/
Post #1417
Posted 7/7/2008 1:06:00 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: 10/24/2008 2:27:36 PM
Posts: 437, Visits: 632
Is the navigation on the left ever repeated? It doesn't sound like you intend to do so, in which case, you don't need to set that in your DWT anyway, save yourself the headache.

=========================
My wife has given birth to our twins, so I'm still going to be spotty around here. It never seems to correct itself does it? I'm sorry, I'm trying.
=========================
Post #1420
Posted 7/7/2008 10:26:19 AM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 11/10/2008 8:31:17 PM
Posts: 26, Visits: 40
He indicated the left navigation would change from section to section which is why I pointed him to where I did

I am creating a website using expression web and would like to have a navigation at the top of the site that never changes and one on the left column that changes depending on what page you are on.

To add, the top menu would NOT have to be an editable region if it will remain the same throughout the site.


pat


Pat Geary
MS MVP FrontPage
http://www.genealogy-web-creations.com/
http://www.genealogy-computer-tips.com/
http://www.expression-web-tutorials.com/
Post #1423
Posted 7/26/2008 5:09:15 AM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 10/2/2008 8:22:46 PM
Posts: 43, Visits: 82
Not sure if you found your solution or not but here's my take on it.

Create your header with the main navigation on your DWT page. If the left column navigation is going to be on all pages but with different links only create the column itself on the DWT and leave it as editable. As you create pages from the DWT you add the links for that page to the left column. I don't have an example to post for you to look at.

Post #1438
Posted 10/10/2008 3:18:48 AM