Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 7th, 2004, 07:44 AM
JerryWoodstock JerryWoodstock is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 4 JerryWoodstock User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Managing a Web SIte Tempalate

Hello Gang
Im new to this html game and i am looking for a soloution that will work much like the dreamwearver .dwt but without the dreamweaver . Is there a means through xml or css to have a Site Wide Template where we can modifiy only this file and have it reflect right across the entire site.

Currently we have a site with a 2 column layout roughly 25%-75% the 25% column is static and remains the same on all pages it contains a table with links and an image. i would like to be able to modify this page for example change a link and have it reflect site wide without manually going to each of the 600 pages and changing it. Likewise goes for the page header and footer.

Is it possible to have meta data stored in a specific place and just have the data that is different on a particular page added to that page ?

How is this managed in other buisnesses?

The Data that is being stored on this site is company memos and that have typically the same format with a few exceptions.

Reply With Quote
  #2  
Old July 7th, 2004, 08:34 AM
jharnois's Avatar
jharnois jharnois is offline
mod_dev_shed
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Sep 2002
Location: Atlanta, GA
Posts: 14,344 jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 2 Days 6 h 26 m 32 sec
Reputation Power: 787
There are a couple of ways to get the effect of templates using various server-side languages, like PHP or SHTML (server-side includes). These, and others, allow you to create single files that you can then include in all other files; when you change the contents of the included file, the change is reflected throughout the site (or on any page that includes the file).

It gets more advanced from there. There is a template class in PHP called Smarty, which adds presentation logic functions (make a row in a table for however many fields are returned from a database).

Does FrontPage have templates? (kidding)
__________________
# Jeremy

Explain your problem instead of asking how to do what you decided was the solution.

Reply With Quote
  #3  
Old July 7th, 2004, 10:37 AM
obi_wonton's Avatar
obi_wonton obi_wonton is offline
(not) Banned
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2004
Location: Toronto, CANADA
Posts: 598 obi_wonton User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 4 m 13 sec
Reputation Power: 5
SSI (SHTML whatever) is probably the easiest. You might want to look into that.

Reply With Quote
  #4  
Old July 7th, 2004, 01:49 PM
JerryWoodstock JerryWoodstock is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 4 JerryWoodstock User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
IS it possible to do this with XLST and XML?

my question is basically what my subject says would it be possible to do this through xlst and xml documents? I dont know if using serverside languages would work due to the enviroment im in.I would have to check into it more we run a IIS server but i believe that even ASP projects will not work o on them due to tight security policies.

We work with ie 6.0 currently but may be switching to a new browser due to ie security holes.

I am a programmer so i am not completely closed to other solutions that require some thought either.

Thanks
again Jerry

Reply With Quote
  #5  
Old July 7th, 2004, 02:12 PM
obi_wonton's Avatar
obi_wonton obi_wonton is offline
(not) Banned
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2004
Location: Toronto, CANADA
Posts: 598 obi_wonton User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 4 m 13 sec
Reputation Power: 5
Quote:
We work with ie 6.0 currently but may be switching to a new browser due to ie security holes.

What does that have to do with your webserver?
If you mean developing with a specific browser in mind... why would the browser's security flaws concern you?

Reply With Quote
  #6  
Old July 7th, 2004, 02:31 PM
jharnois's Avatar
jharnois jharnois is offline
mod_dev_shed
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Sep 2002
Location: Atlanta, GA
Posts: 14,344 jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 2 Days 6 h 26 m 32 sec
Reputation Power: 787
I believe you can do this with XML+XSLT, probably with apply-templates, but I've never done it on a site-wide scale. Keep in mind that not all browsers support the latest XSLT functions, elements, options, etc. www.w3schools.com is a good place to get some basics.

Reply With Quote
  #7  
Old July 7th, 2004, 07:36 PM
JerryWoodstock JerryWoodstock is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 4 JerryWoodstock User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
obi i was hoping that there might be a client side way to apply the templates through xlst thats why i mentioned the browsers and currently they (security people) are in the process of deciding whether or not we will continue to use ie 6.0 because of the latest flaws.
but i think jharnois answered my question thanks both of you


Jerry

Reply With Quote
  #8  
Old July 8th, 2004, 08:06 AM
jharnois's Avatar
jharnois jharnois is offline
mod_dev_shed
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Sep 2002
Location: Atlanta, GA
Posts: 14,344 jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 2 Days 6 h 26 m 32 sec
Reputation Power: 787
Tell the security people to look into Mozilla's Firefox (or the older Mozilla browsers for a stable release version).

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > Managing a Web SIte Tempalate


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


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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway