Post by Jacob » Tue Dec 23, 2008 7:28 pm

Well I am sure this is simple enough to do, but I have spent over an hour and cant find the code anywhere :-\

I tried editing out this in search.tpl but that did not work?

Code: Select all

 <!--<div class="results">
    <div class="left"><?php echo $text_results; ?></div>-->

Running v1.5.5.1


Active Member

Posts

Joined
Thu Dec 04, 2008 9:17 pm

Post by bruce » Tue Dec 23, 2008 8:00 pm

In your store administration, it is in admin/template/default/content/list.tpl

In the catalog, one location is in search.tpl but that only applies to search results. The other location is in category.tpl

You only need comment out the following

Code: Select all

  <div class="left"><?php echo $text_results; ?></div>
as follows, using php comments is the best since html comments do not stop the php processor from expanding what is between the html comments.

Code: Select all

<?php /* ?>  
    <div class="left"><?php echo $text_results; ?></div> 
<?php */ ?> 

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by Jacob » Tue Dec 23, 2008 10:00 pm

I looked many times in category.tpl  ??? but there it is  ;D

Well the comments are not working?

Code: Select all

<?php /* ?>  
    <div class="left"><?php echo $text_results; ?></div> 
<?php */ ?> 
I also tried these comments but they did not work either?
http://www.tizag.com/phpT/comment.php

Running v1.5.5.1


Active Member

Posts

Joined
Thu Dec 04, 2008 9:17 pm

Post by JNeuhoff » Tue Dec 23, 2008 10:06 pm

Try this:

Code: Select all

<?php if (FALSE) { ?>  
    <div class="left"><?php echo $text_results; ?></div> 
<?php } ?>
Or just simply delete the lines from the TPL altogether.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by Jacob » Tue Dec 23, 2008 10:32 pm

That worked  :)

Running v1.5.5.1


Active Member

Posts

Joined
Thu Dec 04, 2008 9:17 pm
Who is online

Users browsing this forum: No registered users and 4 guests