WebYep2 problem with Menu Title

General discussions about WebYep
Visual Productions
Rank 1
Rank 1
Posts: 21
Joined: Thu Oct 15, 2009 9:31 am
Contact:

WebYep2 problem with Menu Title

Postby Visual Productions » Fri Sep 21, 2018 9:34 am

Hello again!
I've encountered another problem in WebYep2:
I have a website with WebYep Menu. There are some links that are menu titles which open a submenu. You know the structure:

- Link A
- Link B
-- Link B1
-- Link B2
- Link C
etc.

Normally "Link B" won't open a new site but expand the submenu. So I edited "Link B" in the edit window of WebYep to open the following URL: "my-domain.de/pageB.php?DOC_INST=3". It works pretty fine. Link A opens pageA.php, link B opens pageB.php, link B1 opens pageB1.php etc.
But when I klick on any link below the submenu of B (e.g. link C or following ones) a text appears above the WebYepMenu:

if (webyep_showHideMenuTree(1, 3)) {webyep_menuItemClick(1, "http://my-domain.de/pageB.php?DOC_INST=3", "") } return false;

It might be a problem in the WYMenuElement.php, but I am not that into programming that I could solve this on my own.
Any ideas?

Steffen
Posts: 11
Joined: Wed Sep 05, 2018 4:45 pm

Re: WebYep2 problem with Menu Title

Postby Steffen » Fri Oct 05, 2018 2:21 pm

Hi,

look in the program/elements/WYMenuElement.php for

Code: Select all

print_r( $sTitleJS);
and change this line in

Code: Select all

// print_r( $sTitleJS);
.... maybe this solve your problem?!

Greetings

Visual Productions
Rank 1
Rank 1
Posts: 21
Joined: Thu Oct 15, 2009 9:31 am
Contact:

Re: WebYep2 problem with Menu Title

Postby Visual Productions » Fri Oct 12, 2018 7:16 pm

Oh yes, this solved it! Thank you so much!


Return to “WebYep (english)”

Who is online

Users browsing this forum: No registered users and 5 guests

cron