Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

php code


Guest

Recommended Posts

Posted

Greetings!

 

We have placed on the index page a image and text inside a table which is within the define "Main Text" php brackets. They are side by side like image/text.

 

The issue is the text alongside the the image is not picking up the stylesheet formating. The reason appears to be that it is sitting in <td></td> brackets.

 

I am no php programmer and wondered if someone can point me in the right direction on this matter.

Posted

You need to have the class stated in your cell tag, such as <td class="smallText">

You may also have to put the appropriate class statement in the row tag (I'm not certain about that one), or you can just put the HTML longhand to emulate what the stylesheet would show.

... if you want to REALLY see something that doesn't set up right out of the box without some tweaking,

try being a Foster Parent!

Posted

Hey Muggitty!

 

:blink: Why did I not think of that :lol:

 

Another question - the what new for box that sits under whatever text on the index page I wish to turn off. Looked at the define and can see the define for the heading but not soomething to turn the whole box off.

 

Pointers :huh:

Posted

If it's in the main body of your index page, in the file catalog/index.php (or default.php), there should be an entry that looks something like

<?php
   include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS);
?>

Just comment out the code to make it not appear

<?php
//    include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS);
?>

If it's in the right or left column, you would comment it out in catalog/includes/column_left.php (or column_right.php)

... if you want to REALLY see something that doesn't set up right out of the box without some tweaking,

try being a Foster Parent!

Archived

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

×
×
  • Create New...