Advanced Web Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignAdvanced Web Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old June 5th, 2004, 06:18 PM
LeXonRin LeXonRin is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 10 LeXonRin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Annoyed of Changing Every Page

Hi guys,

Is there any way to have a template or something? I am getting tired of changing one thing in the menu and having to open every page to change it. I don't want to use frames. Is there any other way? like php scripting? Please help.

Lex

Reply With Quote
  #2  
Old June 5th, 2004, 09:43 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 8 m 57 sec
Reputation Power: 9
Send a message via ICQ to stumpy Send a message via MSN to stumpy
Yes there is! There are many templating engines around for most server-side languages, such as ASP, PHP and .NET (C# & VB.NET). There are lots of free ones around on the net.
__________________
DevArticles Moderator
BlueSix - Web Development and Consulting

Reply With Quote
  #3  
Old June 11th, 2004, 11:51 PM
calebrw calebrw is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Minneapolis, Minnesota
Posts: 9 calebrw User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 18 sec
Reputation Power: 0
Send a message via AIM to calebrw
Dwt

The other option for plain HTML is DynamicWebTemplates (DWT) if you have DreamWeaver or FrontPage 2003, you have the option of using DWT. The DWT Format can be a bit restrictive, but used properly. Also, if you have DW, you can use the library.

Reply With Quote
  #4  
Old June 13th, 2004, 05:00 PM
EiSa EiSa is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Norway
Posts: 184 EiSa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 22 m 24 sec
Reputation Power: 7
If you have access to use a scripting language, why not use included files? And sniff on CSS-design, this makes redesigning easier. Take a look at http://www.csszengarden.com/ and you will see what I mean.
__________________
Strictly CSS | Poker Cognac XO

Last edited by EiSa : October 2nd, 2004 at 05:27 AM.

Reply With Quote
  #5  
Old October 1st, 2004, 02:12 PM
remy remy is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 4 remy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to remy Send a message via Yahoo to remy
if you want to know a useful way for php, the include(); function would work quite well to include any file you want every time it loads (so have like
PHP Code:
<?php
include ("page/navigation.php");
?>

on every page and you would just have to update page/navigation.php for all of your site's navigation display.

Reply With Quote
  #6  
Old October 5th, 2004, 03:46 PM
Mary Killarney Mary Killarney is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 2 Mary Killarney User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by LeXonRin
Hi guys,

Is there any way to have a template or something? I am getting tired of changing one thing in the menu and having to open every page to change it. I don't want to use frames. Is there any other way? like php scripting? Please help.

Lex


The suggestions given so far seem to be a bit overkill and probably not entirely what you're looking for, including your suggestion of PHP. SSI (server-side includes) sounds exactly the solution to your problem.

Reply With Quote
  #7  
Old October 10th, 2004, 09:45 AM
pocketsized pocketsized is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Brunei
Posts: 26 pocketsized User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I co-sign SSI methods. Using languages like PHP would be the easier method. An alternative would be to call a JavaScript function on every page which would print the menu out for you but this isn't the best solution since users can turn off JS.

Reply With Quote
  #8  
Old October 11th, 2004, 07:18 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 9 sec
Reputation Power: 8
JavaScript would be a horrible solution in my opinion... but it is a solution none the less =)

As an added tip, use CSS to keep the style of all your pages the same. If in the future yo uwant to change the colour of your text, its easy enough.

As far as templating, I would recommend PHP or SSI... however these are only beneficial if you have access to the server [in the case that they're not currently configured]...

Otherwise, perhaps Dreamweaver's solution would work. I haven't used it before, but I assume it will keep the layout of various static pages uniform.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignAdvanced Web Development > Annoyed of Changing Every Page


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT