Dreamweaver and templates...

This is a discussion on "Dreamweaver and templates..." within the Web Page Design section. This forum, and the thread "Dreamweaver and templates... are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Closed Thread
 
LinkBack Thread Tools
  #1  
Old Oct 29th, 2003, 02:45
New Member
Join Date: Oct 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Dreamweaver and templates...

Currently with my site when I want to update something on all pages I have to make the change to the template in dreamweaver and then search all pages that use that template and let dreamweaver update the code and then reupload the pages....

Is it possible to have 1 template uploaded and have all pages that use that template just point to it, so when I want to make a change, all I have to do is change that 1 template file and it will take effect to all pages. This way I dont have to reupload. I would load pages quicker I would assume.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!

  #2  
Old Oct 29th, 2003, 03:16
Highly Reputable Member
Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
Well.. This is one of the few reasons that I like flash movies for updatable things. You only have to edit it once and upload one thing and it changes the whole site. I don't think it is possible with HTML... but it might be with another language.. I would like to know the answer to this myself.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old Oct 29th, 2003, 03:22
New Member
Join Date: Oct 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
would css files help in this at all?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old Oct 29th, 2003, 08:09
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
There are many CGI/PHP/ASP/JSP you name it..(!) scripts that are capable of doing this - I wrote one myself.

They take a template file, and wrap it around your content. A quick surf of the web will bring up some results no doubt.

Check out: http://www.hotscripts.com/ as they always have something for free...

You will need to have a server that supports one of the above technologies.

You can also use SSI (SHTML pages) and have 2 include files. One for before your content and one for after?

Oh and Kulegamr, Flash is only a highly updatable medium, if you MAKE it that way.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
Old Oct 29th, 2003, 15:45
New Member
Join Date: Oct 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
cool thanks...ill check that out...im currently using asp vbscripts so thats good i guess
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #6  
Old Oct 29th, 2003, 15:46
New Member
Join Date: Oct 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
what exactly would that be called ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #7  
Old Oct 29th, 2003, 20:03
New Member
Join Date: Oct 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Sirkent can you explain how to do that a little more or link me to some place that can...not finding much on that site
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #8  
Old Oct 29th, 2003, 20:30
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
ASP > Scripts > Content Management

http://www.hotscripts.com/ASP/Script...ent/index.html

There's a lot in there but have a trawl and something should take your fancy. I don't have much experience with ASP scripts, so... can anyone else recommend any famous ASP content scripts?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #9  
Old Oct 29th, 2003, 20:42
New Member
Join Date: Oct 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
dont think i really need a tool...just wondering what code would be for something like that.....

just my guessing...but I would think it would be something like a inlcude statement which points to the template fill...then all content for that specific page would be inserted into the editable region...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #10  
Old Oct 30th, 2003, 08:50
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
On a very basic level, yes, that's right. Then all pages you create import the template.

Another way is to have 1 file with different variables passed to it that loads your content. Or alternatively, a function which rewrites the paths in your template on the fly so that the template will display anywhere on your site, even in subdirs, etc.

But your way should work fine yes :razz:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #11  
Old Oct 30th, 2003, 14:42
Highly Reputable Member
Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
Depending on what you are wanting... you could always make it a JavaScript file and just load that into all of your pages. but.. I know that is not the best way to do it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #12  
Old Oct 30th, 2003, 23:52
New Member
Join Date: Oct 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
ok well the problem is I really dont know how to do either of those ways...lol...would it just be a few lines of code for an include statement?....anyone have any examples?...and which way would be best for fast loading?

thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #13  
Old Oct 31st, 2003, 06:40
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
With SSI (.shtml) files that are supported on many, many, hosting accounts (check with yours), you can use include statements to include text files straight into your file.



For example.

This site is fairly basic, but should help you if you need it:

http://library.thinkquest.org/15074/ssimain.html

Anyone knows any better sites?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #14  
Old Nov 3rd, 2003, 05:32
Junior Member
Join Date: Oct 2003
Location: United Kingdom
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
I Don't know if this would help but dreamweaver has a built in template feature i have written a guide which can be found here

http://htmlschool.co.uk/htmlschool04/dmx/templates.html

Sam Lad
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #15  
Old Nov 3rd, 2003, 08:09
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
<blockquote id="quote"><font size="1" face="geneva, verdana, arial" id="quote">quote:<hr height="1" noshade id="quote">Originally posted by señorbadger

I Don't know if this would help but dreamweaver has a built in template feature i have written a guide which can be found here

http://htmlschool.co.uk/htmlschool04/dmx/templates.html

Sam Lad
<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">

Yes, Sam, The original post mentioned this, but asked if there was a way to update all the pages in the site automatically, I.E. - They all just point to a template file, rather than having to upload a whole site everytime a template change occurs.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Tags
dreamweaver, templates

Thread Tools

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

BB 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 Templates ferrycenter13 Starting Out 5 Mar 26th, 2008 09:48
Dreamweaver Templates Jenski Scripts and Online Services 0 Jan 14th, 2008 10:10
Dreamweaver, Templates, Sub users R8515198 Web Page Design 1 Sep 12th, 2007 15:38
Graduating from Dreamweaver templates snappy Web Page Design 12 Oct 27th, 2006 15:46


All times are GMT. The time now is 09:12.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42