menuindex page 404 not found - leiferikson - 2015-06-09
hiho all,
i got a problem with menu_manager and my index page.
- menu_manger seem to have no effect on the menu of the site. (theme:libratus) When I save a new menu, there is the same structure in the side.
- when you clic on the button for the indexpage it is a "404 not found"
here my site: torstenbahr.com
Zenphoto-Version 1.4.7
thanks for replies, seems to be a simple error but I can“t solve it on my own.
menuindex page 404 not found - fretzl - 2015-06-10
-
If you created a new menu with the menu_manager plugin you have to call that menu with the [i]printCustomMenu()[/i] function.
Place the function where you want it to appear.
http://www.zenphoto.org/documentation/plugins/_zp-extensions---menu_manager.php.html#functionprintCustomMenu
For the libratus theme that would be somewhere in [i]inc-header.php[/i]
-
Looks like you filled out the "Website title" and "Website url" fields on Admin -> Options -> Gallery.
Those field are meant to link to a "main" site. In case you need a link from the zenphoto install to your "main" site on another location.
The "Website url" field should have the [i]http://[/i] in it, otherwise it won't work.
IMPORTANT: No link is printed if you use those fields to link to your zenphoto index.
So, what I think you did is:
Filled out those fields (which you shouldn't if the URL points back to your zenphoto index)
And...the URL does hot have the [i]http://[/i] in front of it.
If you want to show a "Torsten Bahr" link to point to your site index I suggest to do the following:
- Empty the fields mentioned above.
- Change line104 in [i]inc-header.php[/i] to
Torsten Bahr
Please correct me if I made wrong assumptions ;-)
menuindex page 404 not found - leiferikson - 2015-06-10
hiho fretzl
that with the indexpage works out fine, thank you!
torstenbahr index link works.
I will check the point of the custommenu later.
see ya,
torsten
|