Advanced Search  
Advanced Search


Pages: [1]
Print
Author Topic: menu_image set to -1  (Read 1459 times)
alfoto
Offline Offline

Posts: 36



« on: July 14, 2009, 02:52:56 AM »

I'm trying to optimize my site and have found that "web developer" tools report an image not found for ....stories/-1
After searching for the reason I found in the s5_suckerfish.php ( also in s5_no_moo_menu.php) the sentence:

   $menu_image = $menu_params->def('menu_image', -1);

This causes the search for a file called -1 in stories. Is this correct ?
This happens around 40 times in a page ( I guess for any menu item), and I assume this will cause a performance problem as reported by the site checkers.

Any help will be appreciated.
Logged
mikek
Shape 5 Administrator
Offline Offline

Posts: 19420



WWW
« Reply #1 on: July 14, 2009, 06:46:59 AM »

Hello, please post your question under the forum board pertaining to the template you are using. And please provide a url.
Logged

Mike
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Using Firebug will save you so much time, frustration and forum questions:
http://getfirebug.com/


- Need some custom coding done on your site? Use our Shape 5 Hire a Coder program for free:
http://www.shape5.com/hire_a_coder/listauctions
Pages: [1]
Print

Jump to:  


Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Page created in 0.051 seconds with 18 queries.