Post by rYno » Thu Oct 25, 2007 4:22 pm

I wanted to turn off all the reviews, so I "uninstalled" the module from the admin but the "reviews" button still is on the products pages....

In the templates under content/products.tpl it shows this

Code: Select all

<tr>
   <td align="left"><input type="button" value="<?php echo $button_reviews; ?>" onclick="location='<?php echo $review; ?>'" /></td>
   <td align="right"><input type="submit" value="<?php echo $button_add_to_cart; ?>" /></td>
There's no conditional to take it out if the module is off?

rangers lead the way


Newbie

Posts

Joined
Thu Oct 25, 2007 4:15 pm
Location - Az

Post by luvz2drv » Fri Oct 26, 2007 12:29 am

well as you can see  -- NO -- it hard coded.. 

remove the button code from the template file

thats it...

not everything is plug and play in life

luvz2drv


Post by rYno » Fri Oct 26, 2007 12:32 am

understood... but it should be... at least at some point or there's really no need to have the setting in the admin.
Would be nice to create a new template with it in there but turned off in the admin if you knew you'd be using it in the future.

No worries tho - just pointing it out.

rangers lead the way


Newbie

Posts

Joined
Thu Oct 25, 2007 4:15 pm
Location - Az

Post by tchemis » Fri Oct 26, 2007 10:19 am

-=luvz2drv=- wrote: well as you can see  -- NO -- it hard coded.. 

remove the button code from the template file

thats it...

not everything is plug and play in life
I am sure, he has already figured out that he needs to remove the code from the template, since he went as far as finding the problem. No need to be up-tight in your posts.

Active Member

Posts

Joined
Tue Aug 21, 2007 9:23 am

Post by rYno » Fri Oct 26, 2007 1:26 pm

tchemis wrote: I am sure, he has already figured out that he needs to remove the code from the template, since he went as far as finding the problem. No need to be up-tight in your posts.
*claps*

rangers lead the way


Newbie

Posts

Joined
Thu Oct 25, 2007 4:15 pm
Location - Az

Post by luvz2drv » Sat Oct 27, 2007 9:16 am

We think of it on this side... 

Reviews  for most of us are CORE

they would not be setup or used on conditional if it exists    -- 
Some things that just run as CORE -- that are hard coded into the template are good..

Like he found..  its not on conditional -- Delete the code and move on... 

If you think I am being Up-Tight - Oh please join me on MSN and I shall show that this is very NON-uptight.

WHAT im tired of is STUPID repeat question  there is a search button -> it works

this is not a 10 year old software your gonna get posts that may just answer your question 
with out having to go thru like 50 pages of posts.

anyways.. no more ranting...  JUST be nice if may be MOD on here posted same to the users or maybe even MERGED those threads so when OTHERS so use the SEARCH feature guess what

they get good results..

luvz2drv

Who is online

Users browsing this forum: No registered users and 2 guests