Author | Thread |
|
06/27/2007 10:24:52 PM · #1 |
Salutations!
I tried entering this in a search engine but cant get what i want sonce i dont know how to write it in few words.
Anyway, I am trying to make a webpage and make a template. I want the template to apply for most of the site. What i was wondering is if there is a way to make the template into an object, so that one day if i want to change the template, it will apply to all the pages. Im guessing its possible but i dont knwo how. I use dreamweaver.
Thanks to anyone who has the time (and patience) to explain to me |
|
|
06/27/2007 10:27:06 PM · #2 |
Frontpage and other programs like Dreamweaver can do this.
However a site like this uses PHP, youll have one page template for a profile and another for a thread page and another for a photo. You reference a number such as a user, thread, or image id with a database to fill in the blanks.
Would require a server that can run php and a mysql database but there are other ways perl and mysql, php and flatfile database. Yada yada.
Message edited by author 2007-06-27 22:27:29. |
|
|
06/27/2007 10:32:00 PM · #3 |
Originally posted by kolasi: What i was wondering is if there is a way to make the template into an object, so that one day if i want to change the template, it will apply to all the pages. Im guessing its possible but i dont knwo how. I use dreamweaver.
|
Yes. You can create templates in Dreamweaver and apply them to pages and they will change when you make changes to the template.
To create a template start with a blank page, design your template (including editable regions) and then Save it as a template.
You can then apply the template to other pages under the modify menu.
|
|
|
06/27/2007 10:36:54 PM · #4 |
|
|
06/27/2007 11:16:26 PM · #5 |
I do this will all my sites.
I generally chop pages up into a top, bottom and middle, and use server-side includes to bring in the top and bottom files to assemble the pages. This way, if I want to make a change to the navigation, I just need to change the "top" file once, and viola, it affects the whole site.
So most of my inside pages looks like:
Content...
|
|
|
06/27/2007 11:29:46 PM · #6 |
Ofcourse there is always the CMS route. Content Management Software. Sourceforge.net has lots of good ones. Building a site around a blog package isn't a bad idea either.
|
|
|
06/27/2007 11:32:06 PM · #7 |
Yeah, I use joomla for alot of my sites that I run. Highly customizable, alot of mods and addons available, including photogalleries and you can integrate any code into the layout including a store or say a smugmug or dpcprints content. |
|
Home -
Challenges -
Community -
League -
Photos -
Cameras -
Lenses -
Learn -
Help -
Terms of Use -
Privacy -
Top ^
DPChallenge, and website content and design, Copyright © 2001-2025 Challenging Technologies, LLC.
All digital photo copyrights belong to the photographers and may not be used without permission.
Current Server Time: 09/13/2025 01:00:58 PM EDT.