Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Web Design Lobby Forum for general web design issues not specific to scripting or graphics.

Directory Submission Service   ClickBooth Network   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 05-08-2007, 10:27 AM   #1 (permalink)
Inactive
 
Join Date: 05-08-07
Posts: 2
iTrader: 0 / 0%
Latest Blog:
None

dongan is liked by many
DWT - Dreamweaver Web Template

Hi,

I have just heard this term "Dreamweaver Web Template (DWT) and i thought it is really useful to use in the basic site which has 5-10 pages.

Can anyone clarify me my queries?

1) is it possible to include common header and footer? if so, how. because, in php, we can use include statement.

2) What is the advantage of using DWT rather than just copying the basic template and edit it?

3) is it simply enough to keep the template file under templates directory and call them in about.html, contact.html files? if so, how can i do that?

basically, i need a mechanism to have the common header and footer to make sure that any changes will reflect in all pages immediately.

Any help is greatly appreciated.

Thanks.

Regards,
Dongan
dongan is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 05-08-2007, 10:49 AM   #2 (permalink)
Empress™
 
chicgeek's Avatar
 
Join Date: 08-19-04
Location: York, UK
Posts: 17,965
iTrader: 0 / 0%
Latest Blog:
My Favourite Poem

chicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest order
A .dwt file affects html files only through dreamweaver. Every change will have to be applied to all the pages affected by the template through Dreamweaver, then the files must be uploaded again. For your header and footer situation, I would recommend sticking to .php.

When editing a page through dreamweaver, it nicely restricts users to only edit within the set confines of editable regions. For example, I created a template for various university departments to utilize - they could edit the content but not the formatting.

One template should apply to many pages (or subtemplates), so naming them like that would not be ideal.

And basically... if you are the only one maintaining the site and know how to use PHP includes, I would ignore DWTs. They're useful for the right situations, but maybe not yours.
__________________
laura / chicgeek
soprano & web designer
laurakishimoto.ca
chıcgeeĸ @ flickr
chicgeek is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-09-2007, 04:27 AM   #3 (permalink)
Inactive
 
Join Date: 02-22-07
Posts: 43
iTrader: 0 / 0%
Latest Blog:
None

jesse1 is liked by many
you can make a php dwt file and use php includes too
jesse1 is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-09-2007, 11:45 AM   #4 (permalink)
Empress™
 
chicgeek's Avatar
 
Join Date: 08-19-04
Location: York, UK
Posts: 17,965
iTrader: 0 / 0%
Latest Blog:
My Favourite Poem

chicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest order
Sure, but I don't think that .dwts are even needed this time around.
__________________
laura / chicgeek
soprano & web designer
laurakishimoto.ca
chıcgeeĸ @ flickr
chicgeek is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-14-2007, 12:56 PM   #5 (permalink)
Inactive
 
noob78's Avatar
 
Join Date: 08-07-06
Posts: 142
iTrader: 0 / 0%
Latest Blog:
None

noob78 is liked by many
I replied in bold below

Quote:
Originally Posted by dongan View Post
Hi,

I have just heard this term "Dreamweaver Web Template (DWT) and i thought it is really useful to use in the basic site which has 5-10 pages.

Can anyone clarify me my queries?

1) is it possible to include common header and footer? if so, how. because, in php, we can use include statement.
Yup, you can in DW. The difference is that, you won't be able to see the full page in the DW if you use PHP include feature unless you view it in the browser. Still, if you want your code to be DW independent, php include is the way to go. I use DW, just to create a quick feel and look.

2) What is the advantage of using DWT rather than just copying the basic template and edit it?
For me, I don't directly use DWT that someone else create it. Rather I copy the basic template, chop it up into nice pieces to create my own DWT. At the end, DWT will save you some time for quick global changes.

3) is it simply enough to keep the template file under templates directory and call them in about.html, contact.html files? if so, how can i do that?
I would recommend getting DW book. Template is just 1 feature of the DW but there are even PHP support as well. Like pre-coded php sql libraries, table paging, and etc... But, if you're comfortable w/ PHP, even textpad is fine. I use DW cuz I already learned it.


basically, i need a mechanism to have the common header and footer to make sure that any changes will reflect in all pages immediately.

Like you said, it can be done w/ php include, but you must use the browser to see the view. But, if you use DW then it'll show up in the design screen. Preference is upto you.

Any help is greatly appreciated.

Thanks.

Regards,
Dongan
noob78 is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-22-2007, 06:54 PM   #6 (permalink)
Contributing Member
 
Cornbread's Avatar
 
Join Date: 05-14-07
Location: Kansas
Posts: 555
iTrader: 0 / 0%
Cornbread is a glorious beacon of lightCornbread is a glorious beacon of lightCornbread is a glorious beacon of lightCornbread is a glorious beacon of lightCornbread is a glorious beacon of lightCornbread is a glorious beacon of lightCornbread is a glorious beacon of lightCornbread is a glorious beacon of lightCornbread is a glorious beacon of lightCornbread is a glorious beacon of lightCornbread is a glorious beacon of light
DWT actualy stands for Dynamic Web Template I believe and they are used in MS Web Expressions also. From what I understand they are interchangeable between the two programs.
Cornbread is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-22-2007, 06:58 PM   #7 (permalink)
Empress™
 
chicgeek's Avatar
 
Join Date: 08-19-04
Location: York, UK
Posts: 17,965
iTrader: 0 / 0%
Latest Blog:
My Favourite Poem

chicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest order
Quote:
Originally Posted by Cornbread View Post
DWT actualy stands for Dynamic Web Template I believe and they are used in MS Web Expressions also. From what I understand they are interchangeable between the two programs.
Didn't know that. Thanks for the info!
__________________
laura / chicgeek
soprano & web designer
laurakishimoto.ca
chıcgeeĸ @ flickr
chicgeek is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-22-2007, 07:14 PM   #8 (permalink)
Contributing Member
 
Cornbread's Avatar
 
Join Date: 05-14-07
Location: Kansas
Posts: 555
iTrader: 0 / 0%
Cornbread is a glorious beacon of lightCornbread is a glorious beacon of lightCornbread is a glorious beacon of lightCornbread is a glorious beacon of lightCornbread is a glorious beacon of lightCornbread is a glorious beacon of lightCornbread is a glorious beacon of lightCornbread is a glorious beacon of lightCornbread is a glorious beacon of lightCornbread is a glorious beacon of lightCornbread is a glorious beacon of light
No problem, any thoughts on why MS Web Expressions isn't catching on?
Cornbread is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dreamweaver Template and links lajones3 Coding Forum 9 08-20-2007 07:01 AM
Dreamweaver Template Not Updating sem4u Web Design Lobby 4 07-13-2004 02:06 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 11:44 PM.
© Copyright 2008 V7 Inc