Administrator
Administrator
fretzl   20-11-2010, 13:10
#1

Latest nightly, Zenpage theme:

The menu_manager creates an empty link for the [i]gallery index[/i] (and only for the gallery index)on a remote host.
On my local install it works just fine.
Any ideas ?
Thanks.

Administrator
Administrator
fretzl   20-11-2010, 13:43
#2

edit:
My local install is in a subfolder.
The remote install is in the root.

Member
Member
sbillard   20-11-2010, 21:34
#3

Try changing line 167 of menu_manager.php change the "WEBPATH" references to "FULLWEBPATH"

Member
Member
sbillard   20-11-2010, 21:34
#4

Try changing line 167 of menu_manager.php change the "WEBPATH" references to "FULLWEBPATH"

Administrator
Administrator
fretzl   20-11-2010, 23:11
#5

Thanks, that works :-)

But now I see that the [i]$css_class_topactive[/i] (in the printCustomMenu()) is not assigned to the active [i]gallery index[/i] anymore.

Any ideas ?

Member
Member
sbillard   21-11-2010, 01:31
#6

If it was before, it is probably because the link is no longer blank. Have to look and see what can be done.

Administrator
Administrator
fretzl   21-11-2010, 09:51
#7

Hi sbillard, I saw what you did in changeset[6192] but that does not solve it.
I still have to use the FULLWEBPATH to create a link to the [i]gallery index[/i].
And somehow that causes the [i]$css_class_topactive[/i] not to be assigned to the active [i]gallery index[/i].

Member
Member
sbillard   21-11-2010, 20:16
#8

FULLWEBPATH will cause that problem with the class. What is not happening with the link? The actual link should be to the full web path.

Administrator
Administrator
fretzl   21-11-2010, 21:12
#9

The [i]Gallery index[/i] link works fine when I use the FULLWEBPATH.
It's just that the class [i]$css_class_topactive[/i] is not assigned to it when it is actually active.
I'll find a workaround.
Thanks.

Member
Member
sbillard   21-11-2010, 22:09
#10

You answered the wrong question. What is wrong with the changeset [6192] implementation. As I said, using FULLWEBPATH will NOT work for the class stuff. WEBPATH is required for that. But that is only for the particular function and subsequent uses of its output. The place in printCustomMenu() where the actual URL is emitted does detect that it is empty and substitutes FULLWEBPATH in the href.

I have tested this on my test site and it is working there. Perhaps there is something specific about your menu set. Maybe we need to see it in its full.

Administrator
Administrator
fretzl   22-11-2010, 19:34
#11

Changeset[6192] works fine. I just did not understand FULLWEBPATH/class implication.

Question:
The fact that I need to use FULLWEBPATH with this remote host, has that something to do with their server configuration ?

Member
Member
sbillard   22-11-2010, 19:48
#12

Not a server issue, just a problem we have in general with root installs. If the actual URI is empty it is equivalent to pointing to the current page. Most of our testing is with root installs.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.