Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Re-formatting main page


j4tan

Recommended Posts

Posted

Hi, new here,

 

How can i change the style, colour and graphic on the main page?

 

I am trying to get rid of / change the top left oscommerce .gif from install/main_page/header.php but how can i update it? install everything again?

 

or am i targeting the wrong file?

 

Thanks

Posted
Hi, new here,

 

How can i change the style, colour and graphic on the main page?

 

I am trying to get rid of / change the top left oscommerce .gif from install/main_page/header.php but how can i update it? install everything again?

 

or am i targeting the wrong file?

 

Thanks

 

The code that places that graphic there is in catalog/includes/header.php:

 

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>

 

The image file in question is located in your catalog/images directory.

Do, or do not. There is no try.

 

Order Editor 5.0.6 "Ultra Violet" is now available!

For support or to post comments, suggestions, etc, please visit the Order Editor support thread.

Posted

Thanks....... slowly figure out which file to go when changing different section of the main page. :)

Posted

but i still can't re-styling the body text.

 

i.e from

 

What's New Here?

 

 

Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?

 

This is a default setup of the osCommerce project, products shown are for demonstrational purposes, any products purchased will not be delivered nor will the customer be billed. Any information seen on these products is to be treated as fictional.

 

Error Messages

 

If there are any error or warning messages shown above, please correct them first before proceeding.

 

Error messages are displayed at the very top of the page with a complete background color.

 

Several checks are performed to ensure a healthy setup of your online store - these checks can be disabled by editing the appropriate parameters at the bottom of the includes/application_top.php file.

Editing Page Texts

 

The text shown here can be modified in the following file, on each language basis:

 

[path to catalog]/includes/languages/english/index.php

 

That file can be edited manually, or via the Administration Tool with the Languages->English->Define or Tools->File Manager modules.

 

The text is set in the following manner:

 

define('TEXT_MAIN', 'This is a default setup of the osCommerce project...');

 

The text highlighted in green may be modified - it is important to keep the define() of the TEXT_MAIN keyword. To remove the text for TEXT_MAIN completely, the following example is used

 

 

I would like to put in my own stuff instead of using pre define TEXT from english/index.php.

 

I can find the body html from install/main_page but changing it won't show up on the webpage.

 

any idea?

Posted
but i still can't re-styling the body text.

 

i.e from

 

What's New Here?

 

 

Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?

 

This is a default setup of the osCommerce project, products shown are for demonstrational purposes, any products purchased will not be delivered nor will the customer be billed. Any information seen on these products is to be treated as fictional.

 

Error Messages

 

If there are any error or warning messages shown above, please correct them first before proceeding.

 

Error messages are displayed at the very top of the page with a complete background color.

 

Several checks are performed to ensure a healthy setup of your online store - these checks can be disabled by editing the appropriate parameters at the bottom of the includes/application_top.php file.

Editing Page Texts

 

The text shown here can be modified in the following file, on each language basis:

 

[path to catalog]/includes/languages/english/index.php

 

That file can be edited manually, or via the Administration Tool with the Languages->English->Define or Tools->File Manager modules.

 

The text is set in the following manner:

 

define('TEXT_MAIN', 'This is a default setup of the osCommerce project...');

 

The text highlighted in green may be modified - it is important to keep the define() of the TEXT_MAIN keyword. To remove the text for TEXT_MAIN completely, the following example is used

 

 

I would like to put in my own stuff instead of using pre define TEXT from english/index.php.

 

I can find the body html from install/main_page but changing it won't show up on the webpage.

 

any idea?

 

includes/languages/your language/index.php

 

This is where I made the changes to replace the above info with my own -- Mindy

Archived

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

×
×
  • Create New...