Reply
Completely Redoing My site, need tips!
Old 08-06-2007, 03:51 PM Completely Redoing My site, need tips!
AirAndAqua.com's Avatar
Experienced Talker

Posts: 35
Name: James
Well I had posted about this about a week ago and I decided to go ahead and get a plan going...

The site is www.airandaqua.com which redirects you to airandaqua.com/sunshop/index.php

You see my shopping cart is PHP and all the rest of the content pages I make I do in HTML (using SSI for header and footer), my goal is to keep the customer inside the shopping cart at all times, or at least be able to display the "cart contents" (upper right) in my HTML pages, or else if I knew how to create new content pages such as this one - http://www.airandaqua.com/penn_and_t...ed_water.shtml in PHP then I would be able to keep this cart...

I am trying to figure out the best way to create the site CLEAN using templates and CSS and that when I make a change to one file, such as the header, it will be GLOBAL across the entire site! Right now I have to create the header for my HTML pages and then a seperate code for the shopping cart in PHP (images have to be pulled in PHP for the cart to be secure...)

What can I do? I see sites using ASPX but I know nothing about that...

I was thinking, is there a way that I can pull information from a database and have it be displayed through HTML? I don't want to use Iframes or anything for SEO purposes... any ideas?
__________________
http://www.airandaqua.com (Air and Water Purification Products)
http://www.dssexteriors.com (Minnesota Exteriors Storm Damage insurance Claims)
Personal Page - www.myspace.com/jamesjrmn
AirAndAqua.com is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 08-07-2007, 03:34 AM Re: Completely Redoing My site, need tips!
Extreme Talker

Posts: 235
Location: United States
Quote:
I was thinking, is there a way that I can pull information from a database and have it be displayed through HTML? I don't want to use Iframes or anything for SEO purposes... any ideas?
Yes, but you have to use a server-side language. Since you are already using PHP for some parts of the site, you might as well use PHP to grab the data from the database and form the HTML. You can use a templating system such as Smarty (or make your own) to output your HTML through PHP. Smarty allows you to create one template (one file) for the header (or any other part of the page), and include it in other templates.
__________________
The interlocking pieces of web development: usability, performance, accessibility, and standards.
frost is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Completely Redoing My site, need tips!
 

Thread Tools

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
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.11122 seconds with 12 queries