PHP Classes

Bug in class

Recommend this page to a friend!

      D3Ribbon Menu  >  All threads  >  Bug in class  >  (Un) Subscribe thread alerts  
Subject:Bug in class
Summary:Bug in d3ribbon.php class
Author:Mark Pemberton
Date:2010-07-21 18:10:09
Update:2010-07-21 19:19:49

  1. Bug in class   Reply   Report abuse  
Picture of Mark Pemberton Mark Pemberton - 2010-07-21 18:10:09
In the add_button function, assignment of the image component is pointing to $link and should probably be assigned to $image.

I saw someone already post about the missing stylesheet, and went to download the files from your site. All went well. I did notice chu_r_b.gif and chu_r_t.gif were missing. Easily fixed by flipping the chu_l_b.gif and chu_l_t.gif files.

Besides a few minor css tweaks to meet some personal preferences, everything else looks good. One thing that might help is when navigating to a new category that a default button is pre-selected.

Overall, I think you did a good job.

  2. Re: Bug in class   Reply   Report abuse  
Picture of Tufan Baris YILDIRIM Tufan Baris YILDIRIM - 2010-07-21 19:19:49 - In reply to message 1 from Mark Pemberton
Thanks for reporting, I cannot add all files to here. I Added class only.
I will publish a revision with fixes you reported.

Note : Im using my ribbon but not this class, i written first by spagetti code (: im writing and i will develop it , wait for 2010 style :)