Updating numerous pages at the same time.

This is a discussion on "Updating numerous pages at the same time." within the Web Page Design section. This forum, and the thread "Updating numerous pages at the same time. 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




Reply
 
LinkBack Thread Tools
  #1  
Old Aug 11th, 2006, 16:23
Reputable Member
Join Date: May 2006
Location: Scotland
Age: 18
Posts: 228
Thanks: 0
Thanked 0 Times in 0 Posts
Updating numerous pages at the same time.

Okay I am using dreamweaver. Spare the "shouldn't be using a program and should write coding yourself" for now. I am asking if it is possible to make my website into a template with editable regions therefore the whole page is the same for every page onthe website apart from the main content part. So when I edit the navigation area (part of the template which stays the same for all pages) on one of the pages the same applies to the rest of th webpage on the website. Making editing the links and general page design easier without changing the content or updating it on every signle page.

Oh and I don't want to use frames.

Last edited by mikka23; Aug 11th, 2006 at 16:26.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Aug 12th, 2006, 01:05
Reputable Member
Join Date: Dec 2005
Location: U.S.A.
Posts: 155
Thanks: 0
Thanked 4 Times in 4 Posts
Re: Updating numerous pages at the same time.

use server side includes, thats your best bet
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Aug 12th, 2006, 08:58
Highly Reputable Member
Join Date: Aug 2005
Location: 3rd Branch Up, Old Oak.
Age: 48
Posts: 658
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Updating numerous pages at the same time.

Poppycock!
(hadda come back and edit so I could finally use that word. heheh)


Hi Mikka23,
The good news is that the solution has nothing whatever to do with server side includes.


1)
Dreamweaver has a facility to create webpages and turn them into templates. I have not used this function, so I don't know how this works or eventually manifests, but it may be worth looking into.


2)
However, Cascading Style Sheets (CSS) is your answer, and exactly the purpose for which CSS was developed. CSS and CSS2 are currently in service, CCS3 is on the cards but is behind in development and probably won't be around for another 3 or 4 years.

Basically your content is divided into areas of html on your page in a similar fashion to how Dreamweaver does it.
These areas then have their position and format controlled by another language (CSS), the code for which can be included in the same page or a separate file.

The latter option is best for your purposes as the former will only change the page to which it's included.

A brief explanantion; Your web pages all link to a separate 'control' file which gives each page of the site instructions for font, size, colour, display, position, and which images to show where and under what circumstances.

These can be over-ridden in individual pages where unique circumstances may apply.
Thus, by changing the controlling CSS file, this 'cascades' through the entire website simultaneously.

I know you don't want to hear it, but you will HAVE to learn something about hand-coding to cope with the basics of CSS. You will have to learn a lot more to be able to use its' bells & whistles. I sympathise because I'm just starting out with it myself. 3 months ago I was in the position of wondering if it was all worth the extra effort. If it's any help I can tell you that 'yes', it is.

Start HERE then go HERE. Knock twice and tell them, 'Skwirrell' sent you.


Last edited by Legacy_Staff; Aug 12th, 2006 at 11:47.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Aug 12th, 2006, 11:44
Reputable Member
Join Date: May 2006
Location: Scotland
Age: 18
Posts: 228
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Updating numerous pages at the same time.

I will look into that, thanks for the reply. I know a reasonable amount of css, just not really in which circumstances to apply each thing. I wil finish coding the site with tables then think about a possibly re-launch in css and xhtml.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Aug 12th, 2006, 11:48
Highly Reputable Member
Join Date: Aug 2005
Location: 3rd Branch Up, Old Oak.
Age: 48
Posts: 658
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Updating numerous pages at the same time.

Hmmm my reply wasn't taken, for some reason.

Anyway that first link will also get you to a xhtml guide.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Aug 12th, 2006, 14:03
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Updating numerous pages at the same time.

Hi Skwirrell,
Have to disagree. The solution has everything, in part anyway, to do with server sides includes.

Hi mikka23,
To do what you want properly and efficiently, you will need to put your header code in a file, typically called header.inc, your navigation in a file - navigation.inc, and so on.

Your template page then contains instructions to pull in all these files. CSS is used to place each files content in its proper place. All you add to each use of the template is the content for that page.

Global changes to the navigation, header, etc., requires changes to one file, well and maybe your css file, and the effect is seen site wide.

A while back I put together a template system with complete instructions as to what goes where and why.

You can download a copy here:
http://1ontheweb.net/downloads/Templates.zip
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Aug 12th, 2006, 14:07
Reputable Member
Join Date: May 2006
Location: Scotland
Age: 18
Posts: 228
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Updating numerous pages at the same time.

Hi.

Thank you for the information. At the moment I think I will leave it until the site is complete and up and running.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Aug 12th, 2006, 16:06
Reputable Member
Join Date: Dec 2005
Location: U.S.A.
Posts: 155
Thanks: 0
Thanked 4 Times in 4 Posts
Re: Updating numerous pages at the same time.

I'm sure you may know this already Mikka, but css is used to tell the browser how to display items not what is included in the items. That being said I have to disagree with RedSwirrell. You could add classes or divs to your stylesheet but would still have to edit each page if you wanted to add a link to your navigation. As for dreamweaver templates, I'm not exactly sure because I have never used them. Server side includes are very easy, use em and you'll love em! They are available in a variety of formats. I use PHP.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old Aug 12th, 2006, 22:09
Up'n'Coming Member
Join Date: Jun 2006
Location: Rochester, NY
Posts: 67
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Updating numerous pages at the same time.

i would recommend looking into javascript, have a include code in place of each navbar and then have a navbar.js and within it the code for your navbar, so that you could change all of them at once.
__________________
www.MonsterCoding.com - Website Programming and Development Services
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old Aug 14th, 2006, 12:43
Reputable Member
Join Date: May 2006
Location: Scotland
Age: 18
Posts: 228
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Updating numerous pages at the same time.

I made a template usin dreamweaver. It is very easy and works perfectly. All I did was open my completely coded page make into template then highlight the main table for changing content and make editable region. Then go into coding mode and highlight keywords, title and discription and make into editable regions. Then you just make pages from template and add the content into the editable areas. Then if you change anything on the template file it updates throughout the site. Works a treat.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #11  
Old Aug 14th, 2006, 16:30
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Re: Updating numerous pages at the same time.

Dreamweaver allows you to set editable regions or some such. This is what they want. Search the help files.
__________________

Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12  
Old Aug 14th, 2006, 16:33
Reputable Member
Join Date: May 2006
Location: Scotland
Age: 18
Posts: 228
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Updating numerous pages at the same time.

yeah that what im using
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #13  
Old Jan 1st, 2007, 20:22
BGarner's Avatar
Reputable Member
Join Date: Oct 2006
Location: In front of the computer.
Posts: 213
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Updating numerous pages at the same time.

Use server side includes. They are so easy. Look at this code...

HTML: Select all
<html>
<head>
<title>Test</title>
</head>
<body>
<!--#include virtual="navbar.inc" -->
</body>
</html>
And then the "navbar.inc" code looks like this...

Code: Select all
<ul>
<li><a href="http://www.webforumz.com" title="Web Design Forums">WebForumz</a></li>
<li><a href="http://www.yourdomain.com/chocolate.html" title="Chocolate" target="_self">The "Chocolate" section of my page</a></li>
</ul>
You can go in and change the info or whatever. What this will do is insert "navbar.inc" into the place where you put the "#include virtual" command. The benefit is, of course, that you can edit one file while changing many web pages that have the include virtual command in them.

This is a tutorial... http://www.freewebmasterhelp.com/tutorials/ssi/1

Read that tutorial; It will answer most questions you may have.

Let me know if this helped! Happy New Year!

Last edited by BGarner; Jan 1st, 2007 at 21:08. Reason: Removed a link for client privacy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
updating, numerous, pages, same, time

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
Javascript - Updating web pages with snippets from other pages Ydot JavaScript Forum 3 Jul 10th, 2007 14:38
Help Updating News Pages musicnewsuk Web Page Design 8 Dec 10th, 2006 01:38
Change All Pages at the same time! BarryM Web Page Design 8 Oct 27th, 2006 19:41
updating html pages client-side forry Web Page Design 10 Jun 19th, 2006 20:25
Updating multiple records at the same time prob. with script at51178 Classic ASP 11 Feb 1st, 2006 17:56


All times are GMT. The time now is 23:48.


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