Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New Design Implementation


jenstudio

Recommended Posts

Hello, I'm currently implementing a new website with osc and have changed the default structure to my own. I need to know all the files that the user will see (i.e. the ones that include the header.php, footer.php, right_column.php and left_column.php) so i can change these files to my own layout. Is there an easy way to find out what all these files are so I don't miss any?

Link to comment
Share on other sites

I did this to a site quite awhile ago. If I remember correctly....

 

You adjust right and left column widths in includes/application_top.php.

You adjust what boxes go where in includes/column_left.php and column_right.php

 

For the pages you are talking about....

Watch your address bar when you click links. Note the pages.

They have a corresponding php file in the root directory.

That's the way I did it. It wasn't so bad. A dozen or so for me to find.

In them you will see:

 

require('includes/application_top.php');

[lots of lines]

<?php require(DIR_WS_INCLUDES . 'header.php'); ?>

[more lines]

<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>

 

lots of lines of html in them that can be changed to suit your needs.

 

Adjusting the style sheet using classes made things easier if memory serves me....

 

[more lines]

[more lines]

<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>

[more lines]

<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>

Link to comment
Share on other sites

I did this to a site quite awhile ago. If I remember correctly....

 

You adjust right and left column widths in includes/application_top.php.

You adjust what boxes go where in includes/column_left.php and column_right.php

 

For the pages you are talking about....

Watch your address bar when you click links. Note the pages.

They have a corresponding php file in the root directory.

That's the way I did it. It wasn't so bad. A dozen or so for me to find.

In them you will see:

 

require('includes/application_top.php');

[lots of lines]

<?php require(DIR_WS_INCLUDES . 'header.php'); ?>

[more lines]

<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>

 

lots of lines of html in them that can be changed to suit your needs.

 

Adjusting the style sheet using classes made things easier if memory serves me....

 

[more lines]

[more lines]

<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>

[more lines]

<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>

 

 

 

Thanks for that. Yeah i know how to change the left and right column. The php I can figure out, I was just hoping there would be an easier way to figure out what files need to be changed besides having to click on all your different options?

Link to comment
Share on other sites

Thanks for that. Yeah i know how to change the left and right column. The php I can figure out, I was just hoping there would be an easier way to figure out what files need to be changed besides having to click on all your different options?

If I had a stock install I would have listed the pages for you but I have added about twenty additional pages.

Don't let it intimidate you. I hesitated for a while and missed some pages to but when I was finally done, it didn't seem like such a big job afterall.

 

Maybe someone else has a list or knows the list of files for a stock version.

 

I'll try but may not be exactly right (looks like there are a couple dozen(doh!):

account.php

account_edit.php

account_history.php

account_history_info.php

account_newsletters.php

account_notifications.php

account_password.php

address_book.php

address_book_process.php

advanced_search.php

advanced_search_result.php

checkout_confirmation.php

checkout_payment.php

checkout_payment_address.php

checkout_process.php

checkout_shipping.php

checkout_shipping_address.php

checkout_success.php

conditions.php

contact_us.php

create_account.php

create_account_success.php

download.php

index.php

info_shopping_cart.php

login.php

logoff.php

password_forgotten.php

privacy.php

products_new.php

product_info.php

product_reviews.php

product_reviews_info.php

product_reviews_write.php

reviews.php

shipping.php

shopping_cart.php

specials.php

tell_a_friend.php

 

 

btw, I use editpad lite (free). I can load all of those pages at once and do global find/replace with one click. Thats why it was painless for me. Doing them all by hand would be a pain in the...

Link to comment
Share on other sites

If I had a stock install I would have listed the pages for you but I have added about twenty additional pages.

Don't let it intimidate you. I hesitated for a while and missed some pages to but when I was finally done, it didn't seem like such a big job afterall.

 

Maybe someone else has a list or knows the list of files for a stock version.

 

I'll try but may not be exactly right (looks like there are a couple dozen(doh!):

account.php

account_edit.php

account_history.php

account_history_info.php

account_newsletters.php

account_notifications.php

account_password.php

address_book.php

address_book_process.php

advanced_search.php

advanced_search_result.php

checkout_confirmation.php

checkout_payment.php

checkout_payment_address.php

checkout_process.php

checkout_shipping.php

checkout_shipping_address.php

checkout_success.php

conditions.php

contact_us.php

create_account.php

create_account_success.php

download.php

index.php

info_shopping_cart.php

login.php

logoff.php

password_forgotten.php

privacy.php

products_new.php

product_info.php

product_reviews.php

product_reviews_info.php

product_reviews_write.php

reviews.php

shipping.php

shopping_cart.php

specials.php

tell_a_friend.php

 

 

btw, I use editpad lite (free). I can load all of those pages at once and do global find/replace with one click. Thats why it was painless for me. Doing them all by hand would be a pain in the...

 

ahhh.. thanks I'll start with that. I use dreamweaver does the job for me. I have to change a couple of things on each page. Some of those I've already changed, but lots I haven't so better put my head down and continue... Thanks very much for your help.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...