homepage Welcome to WebmasterWorld Guest from 50.17.86.12
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

    
MS FrontPage 2003 DWTs
Are you using Dynamic Web Templates?
pageoneresults

WebmasterWorld Senior Member pageoneresults us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 1381 posted 4:40 pm on Feb 20, 2006 (gmt 0)

Has anyone delved into the utilization of Dynamic Web Templates in FrontPage 2003? If so, what have been your experiences? I've got a couple of test pages set up. Basically it works like this...

You build a "piece" of a page and save it as a .dwt file. You then right click the various elements that are in the .dwt file and you "Manage Editable Regions". Once you've named the regions and have resaved the .dwt file with your parameters, it is now ready for use.

Open a new page, or an existing page where the .dwt file will reside. Position your cursor where you want the dynamic content to appear. Go to Format > Dynamic Web Template > Attach Dynamic Web Template. Browse to the .dwt file, OK and you're done.

This is an example of what your element now looks like when it has an Editable Region...

<!-- #BeginEditable "Heading" -->
<h1>Page Heading</h1>
<!-- #EndEditable -->

What you've just done is included content that is dynamic in nature and another user of FrontPage can now edit that page in WYSIWYG view and not be able to move or edit certain elements (those that you've assigned Editable Regions to).

I'd like to find out how others are using this feature. Did you know it was available? ;)

Think small to medium scale CMS possibilities.

[edited by: pageoneresults at 4:51 pm (utc) on Feb. 20, 2006]

 

woop01

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 1381 posted 4:51 pm on Feb 20, 2006 (gmt 0)

I've been using it literally since the first day it came out. It works like a charm but I typically just use Frontpage as an FTP program that has easily accessible notepad and page preview tools.

The first thing I do as soon as I get a new layout back from the designer is turn it into a DWT with editable regions for ASP code, title, meta tags, script blocks, H1 for the page, body content, an ad block, and a footer code section. I then easily combine it with the content we have been working on while the design was being done.

The only issue I've ever had with it, and continue to have, is I've never been able to get our server configured in such a manner that the "Update All Pages" works. We just have to highlight the root directory and "Attach Dynamic Web Template" any time we make a change.

p.s. As with any mention of Frontpage on this forum, it's only a matter of time until somebody starts running it down. I've started to use that attitude as a filter whenever we talk with potential designers. If somebody doesn't realize the difference between the responsibilities of a web design tool vs a web designer we don't waste our time with them.

Lilliabeth

10+ Year Member



 
Msg#: 1381 posted 2:47 am on Feb 21, 2006 (gmt 0)

I'm not using DWTs in production, but plan to soon, so I'll be watching this thread. A friend of mine swears by DWTs.

As with any mention of Frontpage on this forum, it's only a matter of time until somebody starts running it down.

Sometimes it's not only what's said, it's the qualifications of the speaker:

Some one called me and said their department needs to make simple pages for their intranet, so they want to learn C++. No one in their department has any computer experience except for MS Word. I politely suggested they learn HTML and Frontpage.

But he said FrontPage sucks, so they want to make their pages in C++ instead. Could I recommend any free tutorials?

Yeah, like I want my name on that train wreck.

pageoneresults

WebmasterWorld Senior Member pageoneresults us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 1381 posted 9:00 am on Feb 21, 2006 (gmt 0)

Let's not even discuss the negative aspects of this. I want to learn as much as I can about the DWTs and how you are using them and what advantages you perceive by using them.

Here's a good article (book excerpt) from Microsoft on Using Dynamic Web Templates.

[office.microsoft.com...]

Wlauzon

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 1381 posted 1:04 pm on Feb 21, 2006 (gmt 0)

But he said FrontPage sucks, so they want to make their pages in C++ instead

The sad part is, that is probably not unusual. I am almost a total novice at CSS so far, even though I know computer stuff in general pretty well. A few of the things I see/hear are just off the deep end, like one of our suppliers made up PDF spec sheets for a bunch of products.

They printed them from Word, scanned them, and then opened Acrobat and inserted the JPEG file and saved it as a PDF....

Which is off topic, but anyway..

Back to DWT's - yes I use them a lot. I essentially use the main one as a basic site template or theme for all pages. It includes some fixed basic site links, all the boiler plate stuff etc. It saves a lot of typing.

pageoneresults

WebmasterWorld Senior Member pageoneresults us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 1381 posted 1:30 am on Mar 9, 2006 (gmt 0)

The only issue I've ever had with it, and continue to have, is I've never been able to get our server configured in such a manner that the "Update All Pages" works. We just have to highlight the root directory and "Attach Dynamic Web Template" any time we make a change.

woop01, what a pain that is, huh? I've been working with DWTs on a new site and I feel like I just came out of the stone age using Includes. What a concept, eh? I've been blazing through various templates and doing everything that I can with those editable regions. You have to be careful where you place them. For example, if you place the editable region "inside" of an element, then you cannot change that element in WYSIWYG view. You cannot change it to an <h3> or any other element, it is locked by the DWT.

<h2><!-- #BeginEditable "Heading2" -->Heading 2<!-- #EndEditable --></h2>

But, if you take the above and move those editable regions outside of the elements like so...

<!-- #BeginEditable "Heading2" --><h2>Heading 2</h2><!-- #EndEditable -->

Then you can edit that element in WYSIWYG view.

What's really cool is how it turns the page into "an outline of editable regions" that are indicated with a soft light gold outline. There is all sorts of neat stuff that happens in WYSIWYG mode when using DWTs.

Okay, I need more. For those of you who have been using them for a while, please do let loose on some of the secrets. I'll share some of mine if you share some of yours. ;)

I'm just so totally thrilled about the use of DWTs. Now, if I can just work out the update bugs, that would be the icing on the cake. I'll never use another Include again, ever. There is no need to.

FrontPage Includes and FrontPage Shared Borders are Deprecated!

pageoneresults

WebmasterWorld Senior Member pageoneresults us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 1381 posted 8:36 pm on Mar 13, 2006 (gmt 0)

Now, if I can just work out the update bugs, that would be the icing on the cake.

Any DWT users out there care to expand on this one? How are you dealing with this? Right now, I have to open all pages that reference the DWT. Save the DWT, then use the "Save All" command. Then use Ctrl+W to close all those open pages. It's a bit tedious and I cannot use this technology on a larger site as the opening of all those pages referencing DWTs would not be an efficient use of my time, nor the clients.

woop01

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 1381 posted 8:50 pm on Mar 13, 2006 (gmt 0)

Personally, I get around that by highlighting the root directory in the folder list and then clicking Format>>Dynamic Web Template>>Attach Dynamic Web Template.

The only problem is I have to make sure all html and asp pages use the same template or they keep popping up errors.

raedthakur

5+ Year Member



 
Msg#: 1381 posted 3:57 pm on Mar 26, 2008 (gmt 0)

i too am going to try this .......so what if i want to change the template in the future?...will i have to edit each page individually ?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved