Forums / All Other Contributions/Addons / Problem with Best Seller Page mod by yellow1912

Problem with Best Seller Page mod by yellow1912

Locked

Views: 1,152

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
11 Nov 2007, 1:18 AM
#1
rasyr avatar

rasyr

Zen Follower

Join Date:
Aug 2006
Posts:
233
Plugin Contributions:
0

Problem with Best Seller Page mod by yellow1912

The Mod can be found -- http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=728

I like this mod, it does what I want it to do. However there are a couple of problems with it....

  1. In the folders within the zip file, the "language" folder has its name mis-spelled.

  2. The header_php.php file in the modules/pages/best_sellers folder is missing p.products_model from the two queries in the page.

  3. I went ahead and added a link to the Best Sellers sidebox. It is something to consider for the future.

  4. As you can see from the image attached below, there is an issue with the table headers. They are showing the keywords rather than the values that they should show.

If anybody has any ideas how I can fix #4 I would really appreciate it!!! I want to use this module, but need to get that fixed.

11 Nov 2007, 2:01 AM
#2
rasyr avatar

rasyr

Zen Follower

Join Date:
Aug 2006
Posts:
233
Plugin Contributions:
0

Re: Problem with Best Seller Page mod by yellow1912

I figured out a work-around for issue #4.

In short, I put the combined contents of tpl_modules_product_listing.php and tpl_tabular_display.php
into the tpl_best_sellers_default.php file.

I then manually coded the table headers for the page, and put in an IF statement that essentially excluded any $cell_type with a value of "th" when it came time for the code to write out the individual cells.

Yes, it is ugly code and it is a hack, but at least it fixes the problem I was having with the table headers.

29 Nov 2007, 12:25 AM
#3
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Problem with Best Seller Page mod by yellow1912

All posts asking for support should have been posted in the topic dedicated to it, otherwise I won't notice those and will not be able to help.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me