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, 05: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, 08:43 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 44 m 22 sec
Reputation Power: 0
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.

Reply With Quote
  #3  
Old June 11th, 2004, 10: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, 04: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: 8
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 04:27 AM.

Reply With Quote
  #5  
Old October 1st, 2004, 01: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, 02: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, 08: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, 06: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: 10
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!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

Request Your Free Technology Downloads!
 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

Request Your Free Technology Downloads!
 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

Request Your Free Technology Downloads!
 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

Request Your Free Technology Downloads!
 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

Request Your Free Technology Downloads!
 

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




© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek