SMFHacks.com

SMF Gallery Pro => Support => Topic started by: dannyjp on April 26, 2010, 03:29:26 am

Title: Two "Gallery" buttons in menu
Post by: dannyjp on April 26, 2010, 03:29:26 am
Just upgraded to the latest Gallery Pro. Everything seems okay  except that I now have two "Gallery" buttons in the main menu (top horizontal bar menu). I encountered this issue before when I upgraded from Lite to Pro and the culprit that time was index.template.php (two 'gallery' option in in_array). I checked this file but cannot seem to find any similar problem as in the past. It is attached herewith.

Any instruction to remove the other button would be appreciated. Thanks!

SMF 1.1.11, by the way.
Title: Re: Two "Gallery" buttons in menu
Post by: Michel68 on April 26, 2010, 05:38:44 am
You have 2 buttons in your index.template.php at Line 725 and 751 - remove one

search for    // the [SMF Gallery] button

Title: Re: Two "Gallery" buttons in menu
Post by: dannyjp on April 26, 2010, 06:14:08 am
Thanks Michel! I swear I tried to check for duplicates but must have been cross-eyed when I did. It's now working.