chrometweaks.org

Remove http://www.iPage.com from mailing lists to me. (Yahoo sponsored)?

Click Here To View All Answers...


Quick question: Remove http://www.iPage.com from mailing lists to me. (Yahoo sponsored)? Thanks for any response. 2nd question I got is.. Hi Guys,.

How would I add a line break between the sub-category boxes where it spills over onto a new line..

I think it's in the following code in index...?.

$cPath_new = tep_get_path($categories['categories_id']);.

$width = (int)(100 / MAX_DISPLAY_CATEGORIES_PER_ROW)'%';.

Echo ' <td align="center" class="smallText" width="'$width'" valign="top"><a href="'tep_href_link(FILENAME_DEFAULT, $cPath_new)'">'tep_image(DIR_WS_IMAGES$categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT)'<br>'$categories['categories_name']'</a></td>'"\n";.

If ((($rows / MAX_DISPLAY_CATEGORIES_PER_ROW) == floor($rows / MAX_DISPLAY_CATEGORIES_PER_ROW)) && ($rows != $number_of_categories)) {.

Echo ' </tr>'"\n";.

Echo ' <tr>'"\n";.

}.

}.

TIA.

Richard..

Comments (48)

Good question... I dunno what is the answer to that question. I'll do some poking around and get back to you if I got an useful answer. You should email the people at iPage as they probably know..

Comment #1

Hi Nic,.

I need to add a further line between the cats on the main page not in the left column box?.

The only <br> I can find refers to the line spacing between the left column list?? I think!..

Comment #2

I mean.

Http://www.mysite.co...ex.php?cPath=29.

When you slect a category in the left menu & the categories come up in the middle..

Comment #3

Hi Rich thats not your URL tho so it does not mean anything!..

Comment #4

Hi Guys,.

How would I add a line break between the sub-category boxes where it spills over onto a new line..

I think it's in the following code in index...?.

$cPath_new = tep_get_path($categories['categories_id']);.

$width = (int)(100 / MAX_DISPLAY_CATEGORIES_PER_ROW)'%';.

Echo ' <td align="center" class="smallText" width="'$width'" valign="top"><a href="'tep_href_link(FILENAME_DEFAULT, $cPath_new)'">'tep_image(DIR_WS_IMAGES$categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT)'<br>'$categories['categories_name']'</a></td>'"\n";.

If ((($rows / MAX_DISPLAY_CATEGORIES_PER_ROW) == floor($rows / MAX_DISPLAY_CATEGORIES_PER_ROW)) && ($rows != $number_of_categories)) {.

Echo ' </tr>'"\n";.

Echo ' <tr>'"\n";.

}.

}.

TIA.

Richard..

Comment #5

No it's in catalog / includes / boxes / categories..

Look for '<br>' replace or add <hr>.

Nic..

Comment #6


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