Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 08-13-2010, 06:32 AM Website Issue
Novice Talker

Posts: 13
Name: James
Trades: 0
Hey,

I am abit curious if I can do something on my website, I have created a template and really only want to change the centre content on each different webpage. Is it possible for each page to draw the code for the other divs and layout from one html document then just add in the unique content for that page?

Just, I want to be able to change the different links and images etc on one document rather than going through every single page if I notice a mistake or want to add some content.

This is my website: http://www.directnailsupplies.com

As you can see just the center content needs to be unquie on each webpage

Thanks
James
James87 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-13-2010, 06:41 AM Re: Website Issue
Super Talker

Posts: 139
Name: John Davis
Trades: 0
Each new page should be a script. This script have to show template part before content (constant part), dynamic content, and template part after content (constant part as well).
The first and the last parts should be stored somewhere at your server.
Of course there is a number of solutions, but this is easiest.
__________________
»
Please login or register to view this content. Registration is FREE
- Interactive maps for websites
»
Please login or register to view this content. Registration is FREE
for web developers
MapMaster is offline
Reply With Quote
View Public Profile Visit MapMaster's homepage!
 
Old 08-13-2010, 06:51 AM Re: Website Issue
Novice Talker

Posts: 13
Name: James
Trades: 0
Thanks for the quick respone, do you know a good site where I could learn about scripts for this purpose?

Thanks
James87 is offline
Reply With Quote
View Public Profile
 
Old 08-13-2010, 07:57 AM Re: Website Issue
Super Talker

Posts: 139
Name: John Davis
Trades: 0
Do you have experience in programming?
I yes, then you can easy cope with PHP. Visit www.php.com. There is very useful and friendly documentation. Also you can find there all necessary to start coding.

Good luck!
__________________
»
Please login or register to view this content. Registration is FREE
- Interactive maps for websites
»
Please login or register to view this content. Registration is FREE
for web developers
MapMaster is offline
Reply With Quote
View Public Profile Visit MapMaster's homepage!
 
Old 08-13-2010, 08:20 AM Re: Website Issue
Novice Talker

Posts: 13
Name: James
Trades: 0
If I create a php coded file will I have to re do everything? Also I think that link is wrong its sending me to a parent website!

Is there not a simple way I can embed the html code I have already made onto each new webpage without having to alter it drastically or does it have to be php?

Thanks
James87 is offline
Reply With Quote
View Public Profile
 
Old 08-13-2010, 08:42 AM Re: Website Issue
Novice Talker

Posts: 13
Name: James
Trades: 0
Never mind worked out how to do it on my own using server side includes.

Thanks
James87 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Website Issue
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.29421 seconds with 12 queries