chrometweaks.org

Experience with iPage hosting and CGI?

Click Here To View All Answers...


Quick question: Experience with iPage hosting and CGI? Looking forward for any comment. My other question... Does anyone know how designers give each graphic it's own individual box and box design in the "New products for (month)" area?.

Anyone know which sections of which page files are involved?.

Cheers.

This post has been edited by.

Lester.

: 12 May 2004, 12:40..

Comments (48)

I would like to know the answer too. Anyone here know what is the answer to that question. I'll do some research and get back to you if I discover an useful answer. You should email the people at iPage as they probably know..

Comment #1

The HTML for it is found in /catalog/includes/modules/new_products.php. You should be able to make changes, define classes, etc. from there..

HTH,.

Terry..

Comment #2

There doesnt seem to be any HTML in new_products.php - Does this mean that it all has to be created and then merged with the php ? .

Cheers..

Comment #3

The HTML is included here:.

 $row = 0;.

 $col = 0;.

 $info_box_contents = array();.

 while ($new_products = tep_db_fetch_array($new_products_query)) {.

   $new_products['products_name'] = tep_get_products_name($new_products['products_id']);.

   $info_box_contents[$row][$col] = array('align' => 'center',.

                                          'params' => 'class="smallText" width="33%" valign="top"',.

                                          'text' => '<a href="'tep_href_link(FILENAME_PRODUCT_INFO, 'products_id='$new_products['products_id'])'">'tep_image(DIR_WS_IMAGES$new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT)'</a><br><a href="'tep_href_link(FILENAME_PRODUCT_INFO, 'products_id='$new_products['products_id'])'">'$new_products['products_name']'</a><br>'$currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])));.

If you view source for the new products section on your index.php file, you should see how the above is incorporated into the HTML..

HTH,.

Terry..

Comment #4

Does anyone know how designers give each graphic it's own individual box and box design in the "New products for (month)" area?.

Anyone know which sections of which page files are involved?.

Cheers.

This post has been edited by.

Lester.

: 12 May 2004, 12:40..

Comment #5

Curently, in the default 2.2-MS2 install, the "New products for (month)" on the main index page just contains nine images with a simple line of text underneath..

Some people manage to modify the contents of "New products for (month) " so that each image is in it's own box with it's own heading - a bit like the info boxes in the left or right hand column..

They are then able to give the new boxes in the "New products for (month)...a graphic as a header as well as a background..

What I am trying to find out is what needs to be modified..

Hope the above is clearer..

Comment #6


This question was taken from a support group/message board and re-posted here so others can learn from it.