Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

REMOVE CATEGORY IMAGE-UPDATE 06/13/04


warrenerjm

Recommended Posts

Posted

Hi

 

I used this contribution, a little while ago to remove the pics. I did as below in my index.php file. It worked in the main page but no others. I did find out from the forum another easier way, through the admin panel, & I have no cartoon pics in the top right corner of my pages.

REMOVE CATEGORY IMAGE-UPDATE 06/13/04

 

THIS IS JUST A QUICK UPDATE TO THE "REMOVE CATEGORY IMAGE" MOD OFFERED BY Mike Mierzwa.

THE ADDED UPDATE IS MARKED BELOW.

W. Gray

[email protected]

---------------------------------------------------------------------------------------------

 

This is my first contribution. A simple way to remove the category images, shown on all pages to the far right near the infobox shopping cart.

 

 

Make sure you backup up your files prior to removing these lines, just in case.

 

 

In your primary cart directory open up the index.php file.

(Line numbers may be higher or lower depending on your configuration)

 

----------- ADDED UPDATE--------------

Find line 67 and remove it.

 

<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

-----------END ADDED UPDATE----------

 

 

Find line 272 and remove it.

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

 

 

Next find line 291 as shown below and remove it.

<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

 

 

That's it! Save the file and upload it.

 

Any questions email [email protected]

 

Unfortuneately, in my main page the right column has dropped slightly & the footer doesn't quite reach the left hand edge.

 

Can any one tell me where I put these three deleted lines back into my index.php file? I'm assuming if I put the codes back in that page will go back to how it was & how the other pages are. One or more of those lines must be affecting it.

 

The line numbers weren't correct & I have made other amendments since.

 

Thanks for your help.

Julie

Posted

Hi again

 

Been engrossed in reading the forum & just remembered there was something I was wanting help on. Would anyone mind having a look at this one again for me please?

 

Thanks

Julie

Posted

Hi

 

A new day has dawned. Cold & overcast! Could anyone help me solve this one & brighten up my day for me?

 

Thanks

Julie

Posted

just put a fresh file over it if you havent chnaged anything else on it--otherwise just follow the instructions in reverse.

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Posted
just put a fresh file over it if you havent chnaged anything else on it--otherwise just follow the instructions in reverse.

Hi

 

Done that & it didn't work??? I found the original lay out & put the three lines back in. I can't replace the whole file,'cos I have made other changes.

 

Julie

Posted

a link to the page will help most likley, so we can view the source code

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...