ZenphotoCMS Forum
Problem with menu manager - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Problem with menu manager (/thread-9358.html)



Problem with menu manager - rhoulian - 2011-12-08

Thanks again for helping me... I'm a newbie, so I chose zenphoto to build a nice website, and I try to use "menu manager" to make a custom menu easier :

I use zenpage theme, latest version of zenphoto and zenpage.My problem is the same with print_album_menu plugin activated or not.

I have a problem with making menu : as you can see on my website, by clicking on the menu (I just put one page named "pianiste"), you get this message :

"the request MySQL ( SELECT COUNT(*) FROM zp_comments WHERE type='pages' AND inmoderation=0 AND private=0 AND ownerid= ) failed. Erreur : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 "

Evrything is fine if I deactivate menu_manager, but I'm not quite qualified to get the menu I want, which would be in this order :

-Some particular pages
-the gallery
-Some other pages
-Contact form

Is there a problem with this plugin ?
Thanks to the team
rhoulian




Problem with menu manager - rhoulian - 2011-12-08

I forgot to give the url of the site : http://www.lepianiste.net
;-)
Thank you !




Problem with menu manager - acrylian - 2011-12-08

The Zenpage theme tries to create a menu set automatically if the menu manager is enabled on the first start up.

Try to delete the menu set and create a new one. The album_menu is not needed although said menu above tries to use it internally.




Problem with menu manager - rhoulian - 2011-12-08

Thanks, but this doesn't work...

I deleted the original custom menu called "zenpage" and created a new one called "menu".

Then I replace the code in the page sidebar.php, which is beginning like that :

Is there a step I missed ?
thanks a lot




Problem with menu manager - rhoulian - 2011-12-08

Hi,
I figured out something, just tell me if I can do better :

When I add a link in my menu, I chose "zenpage page", and I select the desired one. This doesn't work

If I do the same thing but using "custom link" (entering the complete adress of the page http://www....... etc), this is working !

I'll do this for the moment, but if there's something easier just tell me please ;-)
Bye




Problem with menu manager - acrylian - 2011-12-08

Are you sure the page added is published and the link is as well? Any errors in the server log?
I am not able to reproduce this with the 1.4.2 beta and the plain Zenpage theme.




Problem with menu manager - fretzl - 2011-12-08

Did you check "Use custom menu" in the Zenpage theme options ?




Problem with menu manager - rhoulian - 2011-12-09

Yes, everything is published.
The problem is, when I use the first method (chosing custom menu and adding a published zen page), by clicking from the website I'm redirected on that adress : www.mydomain.com/index.php?p=pages&titlelink=name-of-the-page

Si I just create a custom link, and I put the following adress :
www.mydomain.com/index.php?p=pages&title=name-of-the-page

(I delete the letters "link")
And everything is fine...




Problem with menu manager - acrylian - 2011-12-09

Ah, ok, that's a bug/typo then we probably never noticed as we use modrewrite (which probably most people do nowadays). We will look at that.

Will be fixed in tonight's nightly of 1.4.2 beta.