Member
Member
leiferikson   2015-06-09, 20:30
#1
hiho all,
i got a problem with menu_manager and my index page.
1. 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.
2. 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.
Administrator
Administrator
fretzl   2015-06-10, 08:51
#2
1) 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]

2) 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 ;-)
Member
Member
leiferikson   2015-06-10, 20:11
#3
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
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.