chrometweaks.org

What are the best sites for free iPage web hosting?

Click Here To View All Answers...


Question I have... What are the best sites for free iPage web hosting? Hoping for any answer. 2nd question I got is.. Hi.. I have a problem with removing a line in the categorie infoBox in column_left.php. For a better understanding, please look at the picture below..

As you can see above, top 2 pictures are before removed catagories infobox and the other two are after removed top header. I compared left one with right one to show you how they are different.. The line I want to delete is invisible.. So I have to drag/highlight it so that I can visually see the line...

By removing the invisible line, I want Hardware move up a bit.. so that there shouldn't be space between..

I don't know which file needs to be modified. I only guess that it might be .. boxes/categories.php file.. as I was able to delete "Categories" infoBox by deleteing the code below..

$info_box_contents = array();.

$info_box_contents[] = array('text' => BOX_HEADING_CATEGORIES);.

New infoBoxHeading($info_box_contents, true, false);.

Please help....

I'll appreciate for any help...

Thanks..

Softvoice..

Comments (68)

I'm stumped. I'm not so sure what is the answer to that question. I'll do some Googling and get back to you if I got an answer. You should email the people at iPage as they probably could assist you..

Comment #1

There are two infobox in the file.. one I already eliminated from the above post. The other one at the bottom of the code couldn't be removed.. then infobox will disappear.. any other suggestions?..

Comment #2

I had this problem..... I think if you goto admin and change the setting for images to 'Not Required' - then it dissapears.........

Worth a go..

Cheers..

Comment #3

The line is visible but in white, white is due to css the bit of code in the boxes affected should be <hr> tag which is horizontal row, the <hr> draws a horizontal line..

Look at the bottom of the codes for the boxes includes/boxes/name of file.

From your images it looks as though you have this in each of the boxes, so one other place that it could be is in the boxes class for infobox which can be found in includes/classes/boxes.php.

The includes/boxes/manufacturers.php is a short file so if you could post that file as an example then it can be checked for the <hr> tag or tep_draw_seperator.

If it is not found in the code for that file then I would expect to find the code in the includes/classes/boxes.php.

This post has been edited by.

241.

: 25 September 2004, 12:53..

Comment #4

It is most likely to be the includes/classes/boxes.php.

   function infoBoxContents($contents) {.

     $this->table_cellpadding = '3';.

     $this->table_parameters = 'class="infoBoxContents"';.

     $info_box_contents = array();.

     $info_box_contents[] = array(array('text' => tep_draw_separator('pixel_trans.gif', '100%', '1')));.

     for ($i=0, $n=sizeof($contents); $i<$n; $i++) {.

       $info_box_contents[] = array(array('align' => (isset($contents[$i]['align']) ? $contents[$i]['align'] : ''),.

                                          'form' => (isset($contents[$i]['form']) ? $contents[$i]['form'] : ''),.

                                          'params' => 'class="boxText"',.

                                          'text' => (isset($contents[$i]['text']) ? $contents[$i]['text'] : '')));.

     }.

     $info_box_contents[] = array(array('text' => tep_draw_separator('pixel_trans.gif', '100%', '1')));.

     return $this->tableBox($info_box_contents);.

   }.

 }.

The two lines being.

     $info_box_contents[] = array(array('text' => tep_draw_separator('pixel_trans.gif', '100%', '1')));.

And.

     $info_box_contents[] = array(array('text' => tep_draw_separator('pixel_trans.gif', '100%', '1')));..

Comment #5

Here goes - 241 is absolutely spot on.

The code:.

       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>.

Needs to be changed to :.

       <td><?php echo tep_draw_separator('pixel_trans.gif', '', '10'); ?></td>.

Or even commented out completely........ If you do this throughout your site, you'll not encounter this prob again. Good luck..

Comment #6

Hi.. I have a problem with removing a line in the categorie infoBox in column_left.php. For a better understanding, please look at the picture below..

As you can see above, top 2 pictures are before removed catagories infobox and the other two are after removed top header. I compared left one with right one to show you how they are different.. The line I want to delete is invisible.. So I have to drag/highlight it so that I can visually see the line...

By removing the invisible line, I want Hardware move up a bit.. so that there shouldn't be space between..

I don't know which file needs to be modified. I only guess that it might be .. boxes/categories.php file.. as I was able to delete "Categories" infoBox by deleteing the code below..

$info_box_contents = array();.

$info_box_contents[] = array('text' => BOX_HEADING_CATEGORIES);.

New infoBoxHeading($info_box_contents, true, false);.

Please help....

I'll appreciate for any help...

Thanks..

Softvoice..

Comment #7

I don't use this set up to create my boxes so can't offer a definitive answer, but you might find it helpful to look at includes/classes/boxes.php and find the line starting "class infoBoxHeading".

There may be code in that class that affects what you're doing and possibly the class tableBox which this class is extending..

Hope this helps...

Comment #8


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