chrometweaks.org

Can you use HTML codes for iPage?

Click Here To View All Answers...


First of all Can you use HTML codes for iPage? Thanks in advance for any comment. Another question I got... Hi everyone!.

We just set up a cart and everytime you add a new category in the admin section it creates the category/page, but it also has an image embedded in the top-right hand corner of each category. You can see it here (the broken image)..

Http://www.yourbackyardherbgrowers.com/cat...ex.php?cPath=27.

We want to get rid of that image, no image necessary. What file do we need to edit to make that stop?.

Hopefully this isn't the stupiest question ever...

Comments (5)

Yes sir! but you might want to make sure and wait for another commenter to confirm my answer as I am not sure. Better yet, why don't you ask the iPage guys because they can give you help better...

Comment #1

Hmm, that sounded like a good idea and I did it but it didn't seem to work. I still see the broken image box. Any other thoughts?..

Comment #2

<td class="pageHeading">Our Products.</td>.

<td align="center" class="main"><form name="filter" action="index.php" method="get"><b>Show:</b>&nbsp;<input type="hidden" name="cPath" value="27"><input type="hidden" name="sort" value="2a"><select name="filter_id" onchange="this.form.submit()"><option value="" SELECTED>All Manufacturers</option><option value="10">AE WHolesale</option><option value="14">SW</option></select><input type="hidden" name="osCsid" value="8d025e276ed5be126308e948aebb3312"></form></td>.

<td align="right"><img src="images/" border="0" alt="Our Products." title=" Our Products." width="57" height="40"></td>.

The PHP code in your catalog/index.php that generates the above html needs to be modified to eliminate the table data html for the image. Someone has already modified it to include the drop down on manufacturers..

HTH.

Tom..

Comment #3

I was thinking maybe it's the last line of code here:.

// Get the right image for the top-right.

$image = DIR_WS_IMAGES'table_background_list.gif';.

If (isset($HTTP_GET_VARS['manufacturers_id'])) {.

$image = tep_db_query("select manufacturers_image from "TABLE_MANUFACTURERS" where manufacturers_id = '"(int)$HTTP_GET_VARS['manufacturers_id']"'");.

$image = tep_db_fetch_array($image);.

$image = $image['manufacturers_image'];.

} elseif ($current_category_id) {.

$image = tep_db_query("select categories_image from "TABLE_CATEGORIES" where categories_id = '"(int)$current_category_id"'");.

$image = tep_db_fetch_array($image);.

$image = $image['categories_image'];.

}.

?>.

<td align="right"><?php echo tep_image(DIR_WS_IMAGES$image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>.

If so, you'd just need to change the last line to this:.

<! image removed.

<td align="right"><?php echo tep_image(DIR_WS_IMAGES$image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>.

//>..

Comment #4

So you are saying to change this:.

<td align="right"><?php echo tep_image(DIR_WS_IMAGES$image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>.

To this?:.

<! image removed.

<td align="right"><?php echo tep_image(DIR_WS_IMAGES$image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>.

//>..

Comment #5

Yes that worked like a charm. Thanks for the help! I hope this helps others in the future...

Comment #6


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