AOA Forums AOA Forums AOA Forums Folding For Team 45 AOA Files Home Front Page Become an AOA Subscriber! UserCP Calendar Memberlist FAQ Search Forum Home


Go Back   AOA Forums > Software > Programming and Assembly Language

Programming and Assembly Language Please read this Topic's rules!!


Reply
 
LinkBack Thread Tools Rate Thread
  #1 (permalink)  
Old 30th May, 2003, 05:46 PM
Invalid's Avatar
Member
 
Join Date: January 2003
Posts: 218
Send a message via AIM to Invalid

Question Web design question, PHP...i think

Hey,
I need to workout how to use a feature in web design that allows you to create a template of a website layout in one file then the rest of the website's content is stored in seporate files. so what happens is that you write up a text piece or summit and there's none of the borders etc around it until it's uploaded and viewed on the net, cos it's all applied automatically...i only know a little about web diesign and such, but it would be helpful if someone could explain how to do this...save alot of time for me, am i right in thinkinkg u use PHP?...

Thanks

Ross:beer:
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 31st May, 2003, 10:15 PM
Invalid's Avatar
Member
 
Join Date: January 2003
Posts: 218
Send a message via AIM to Invalid

OK, ive managed to work out how to use a set template for each page, but if i make the new page with the include() template then it doesnt have any of the jpeg borders etc...anyone know wtf im on about? lol

Ross
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 4th June, 2003, 04:44 AM
Tekime's Avatar
Member
 
Join Date: May 2003
Location: Yes
Posts: 48

PHP makes it really easy to do stuff like that. I assume you have access to a web server with PHP installed, or have installed it on your own server before trying all this?

There are tons of ways to use templating for your site, PHP in a way is a templating system itself. You can use the include() statement to include another PHP script. So if you had a site logo you wanted to display above every page, you could write up something like:

Code:
include('pg_header.php');
And then stick that at the top of every page you have. pg_header.php would just be your site logo and whatever other script or HTML you wanted.

Check out Developer's Shed for tons of PHP tutorials, as well as PHP.net which is a great resource. Of course Google will bring up tons of great stuff.
__________________
1700+ @ 2.33GHz (10.5x222) w/ SK7 & TT Smart Fan II
EPoX 8RDA+ Crush 18D (A1/C1) northbridge stepping
MSI geForce4 Ti-4600 @ 313/725
Kingston HyperX PC3500 @ DDR444 2-3-3-7
World Web Chat | Web Design
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Design your case mod in 3D... danrok Case Modifications 22 26th March, 2007 01:08 AM
intelligent design? barneygumble742 Random Nonsense! 5 7th August, 2005 08:02 PM
Looking for a design... Alphawolf829 Case Modifications 3 20th December, 2002 03:34 AM
Design Suggestion Box Aphex Random Nonsense! 6 29th November, 2001 07:14 AM


All times are GMT +1. The time now is 01:22 PM.


Copyright ©2001 - 2010, AOA Forums
Don't Click Here Don't Click Here Either

Search Engine Friendly URLs by vBSEO 3.3.0