chrometweaks.org

Are there any regulations for responsible iPage web hosting?

Click Here To View All Answers...


First question I got is Are there any regulations for responsible iPage web hosting? Many thanks for any answer or 2. Another question on my mind: I want to add the above button image under each categories text in my categories info box. Also would want to get rid of the border and heading entirely..

How do I do that?.

I searched the forums and contribs but didn't find anything.

This post has been edited by.

XPATRIOTSx.

: 08 October 2004, 22:02..

Comments (48)

Yes sir! although you might wanna make sure and wait for someone else to confirm this as I am not sure. Better yet, why don't you call the iPage guys because they can help better...

Comment #1

I do not know if it is will work, just an idea.

In categories box has line.

$categories_string .= '<br>';.

This making space betwin names.

Try to change this line to something like this.

$categories_string .= tep_image(DIR_WS_IMAGES'imagename.gif', '');..

Comment #2

Thanks for trying but it didn't work. It placed the image next to each category, and the whole category box became horizontal instead of vertical hehe..

Comment #3

I am using the All Categories contribution (#62 I think it may be) and I just modified the categories.php file in which I added this line in three places. It puts the bullet image at the beginning of the category, sub-cat, and sub-sub-cat... It looks nice with all the cats and subcats listed out. Anyway, it's not directly going to solve your problem but may help someone else using the same contribution or may help you figure out where to put the <BR> space in the file. I'm trying to do that myself - so there's demarcation between categories (I have tons of sub-cats and sub-sub-cats). If you figure out how to add a spacer line, please post it !!.

<img src="images/categories_bullet.gif" border="0" alt="">&nbsp;.

Notice 3 spots in categories.php where line is (but am using the all categories file, not original MS2 file)..

// Preorder tree traversal.

Function preorder($cid, $level, $foo, $cpath) {.

Global $categories_string, $HTTP_GET_VARS;.

If ($cid != 0) {.

// 1.7 Get the current path info.

$category_path = explode('_','<img src="images/categories_bullet.gif" border="0" alt="">&nbsp;',$HTTP_GET_VARS['cPath']);.

$in_path = in_array($cid, $category_path);.

$this_category = array_pop($category_path);.

For ($i=0; $i<$level; $i++).

// 1.7 only indent subcategories (top level are flush left).

If ($i>0) {.

$categories_string .= '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';.

}.

// 1.7 indicate the current category.

If ($this_category == $cid) {.

$categories_string .= '<img src="images/categories_bullet.gif" border="0" alt="">&nbsp;';.

}.

// 1.7 don't link the current category.

If ($this_category != $cid) {.

$categories_string .= '<img src="images/categories_bullet.gif" border="0" alt="">&nbsp;<a href="'tep_href_link(FILENAME_DEFAULT, 'cPath='$cpath$cid)'">';..

Comment #4

I want to add the above button image under each categories text in my categories info box. Also would want to get rid of the border and heading entirely..

How do I do that?.

I searched the forums and contribs but didn't find anything.

This post has been edited by.

XPATRIOTSx.

: 08 October 2004, 22:02..

Comment #5

How about a hint? Like would it be done in the stylesheet or categories.php?..

Comment #6


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