?
avatar barraclm
barraclm
11 Oct 2017

Steps to reproduce the issue

log in to http://whatzon.info front end as both a registered user and a super user.

Expected result

Menu works the same as when not logged in

Actual result

With both registered and super users the menu splits in two. The first part is where it should be and works normally. The second half is vertical rather than horizontal and unstyled, still in the menu bar area but on the left-hand side.

System information (as much as possible)

systeminfo-2017-10-10T20-53-08-07-00.txt

Additional comments

Email thread with Joomlashack (starts at the bottom)

JOMLASHACK: Checking the menu levels, it seems the problem is caused in the third level.

Setting up to display until second menu level, the menu works fine:
Modules__Menu_-Michael_Barraclough-Administration.jpg
May you open an issue in the Joomla github repository? Please post the details from this page. Hopefully we can get more feedback and a possible solution to this bug in this way.

ME: I switched from "Text separator" type to "External URL" and setting "#" as link for the Dances menu item and that made no difference. I then made the change for all menu items set to Text Separator and that still made no difference!

JOOMLASHACK: I installed back Protostar, enabled a menu module for this template and the same issue came up: (please, login and go to) http://whatzon.info/?template=protostar. This confirm the issue is not exclusive to Keenly. Probably a bug in Joomla core. I suggest you to switch menu items from "Text separator" type to "External URL" and setting "#" as link. See if that makes a difference and let us know.

JOOMLASHACK: We were able to replicate the issue. It appears to be due to one of the sub menu items in your main menu. We're looking into it and we'll let you know once we have it resolved.

ME: I have discovered that my top menu breaks when I log in (works fine as a guest, breaks for both registered and super users). The menu splits in two. The first part is where it should be and works normally. The second half is vertical rather than horizontal and unstyled, still in the menu bar area but on the left-hand side. I am not sure whether this is new since the recent template upgrade or has always been like this.

site: whatzon.info
template: Keenly
test user: test2/test2

avatar barraclm barraclm - open - 11 Oct 2017
avatar joomla-cms-bot joomla-cms-bot - change - 11 Oct 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 11 Oct 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 11 Oct 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-10-11 05:19:02
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 11 Oct 2017
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 11 Oct 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 11 Oct 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 11 Oct 2017

Please ask help on the forums. This repository concerns in first Place Joomla coding. For this Reason closing this Issue, thanks.

avatar barraclm
barraclm - comment - 11 Oct 2017

I have already looked for advice. The advice I have been given, by Joomlashack who are major extension/template authors, is that they have tested it and are convinced that this is an error in the Joomla code. They recommended that I should post here.

Michael Barraclough
Website[1]
Email[2]

Please ask help on the forums[3]. This repository concerns in first Place Joomla coding. For this Reason closing this Issue, thanks.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub[4], or mute the thread[5].[6]


[1] http://www.michaelbarraclough.com
[2] mailto:michael@michaelbarraclough.com
[3] https://forum.joomla.org/
[4] #18306 (comment)
[5] https://github.com/notifications/unsubscribe-auth/AYX72nyvQRQUUI7Iq2UcwBJqWNVRJ0rRks5srFAMgaJpZM4P04mq
[6] https://github.com/notifications/beacon/AYX72nM1BmHMXSJu3ZPULOPYqAbXfBeYks5srFAMgaJpZM4P04mq.gif

avatar franz-wohlkoenig franz-wohlkoenig - change - 11 Oct 2017
Status Closed Discussion
Closed_Date 2017-10-11 05:19:02
Closed_By joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - change - 11 Oct 2017
Status Discussion New
Closed_Date 0000-00-00 00:00:00
avatar joomla-cms-bot joomla-cms-bot - reopen - 11 Oct 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 11 Oct 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 11 Oct 2017

reopened. Thanks for Info.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18306.

avatar infograf768
infograf768 - comment - 11 Oct 2017

Third level displays fine with Protostar. The issue is with your template/menu module.

screen shot 2017-10-11 at 10 01 42

avatar infograf768
infograf768 - comment - 11 Oct 2017

Or with your menu structure...

avatar brianteeman
brianteeman - comment - 11 Oct 2017

Screenshot of your site and menu working correctly with protostar

screenshotr10-15-59

avatar infograf768
infograf768 - comment - 11 Oct 2017

@brianteeman
In fact not on that site as there are 3rd levels menu items below Dances

avatar brianteeman
brianteeman - comment - 11 Oct 2017

So probably a permissions issue (as you suggested) on one of the menu items. I have seen this before if you have a parent item at the wrong permission level it causes the children to appear in the wrong place if the parent is not displayed

avatar infograf768
infograf768 - comment - 11 Oct 2017

That site displays in its own template when the user is not logged (I did not test logging):
screen shot 2017-10-11 at 11 29 14

avatar htmgarcia
htmgarcia - comment - 11 Oct 2017

Hi everyone,
thanks for sharing your thoughts on this concern.

I'm the guy from @joomlashack who suggested to @barraclm to open this issue, since in my opinion is a potential bug in Joomla core.

@brianteeman

So probably a permissions issue (as you suggested) on one of the menu items. I have seen this before if you have a parent item at the wrong permission level it causes the children to appear in the wrong place if the parent is not displayed

RE: you have an interesting theory. If this is correct, still is a bug IMHO. Children menu items shouldn't be displayed if is the case.

I attach an screenshot showing the broken menu using protostar template:
michael_barraclough_

avatar franz-wohlkoenig franz-wohlkoenig - change - 11 Oct 2017
Category com_menus com_users
avatar franz-wohlkoenig franz-wohlkoenig - change - 11 Oct 2017
Status New Discussion
avatar ReLater
ReLater - comment - 11 Oct 2017

Could you please provide precise testing instructions to reproduce this issue in Joomla staging. I cannot reproduce it until now. I tried it.

avatar alikon
alikon - comment - 11 Oct 2017

RE: you have an interesting theory. If this is correct, still is a bug IMHO. Children menu items shouldn't be displayed if is the case.

why ?
we are talking about 2 different beast
menu hierarchy & ACL

avatar barraclm
barraclm - comment - 11 Oct 2017

It has been suggested that the issue is related to permissions and I can confirm this. However, I believe that this is still a Joomla coding issue.

The problem: I have a horizontal menu at the top of my screen which for some items goes down to a 3rd level. If you are not logged in then the menu works perfectly. However, if you are a logged in user (registered or super) then the menu breaks. This is not template dependent as it can be reproduced with the Protostar template.

The cause: One of the 2nd level menu items (Public access) has three 3rd level items, one of which has Public access and two have Registered User access. If you change the Registered User to Public access then the problem goes away.

Comment: Having a higher access level for sub-level menu items, compared to their parent, should not break the menu. This looks like a Joomla coding issue.

avatar brianteeman
brianteeman - comment - 11 Oct 2017

Please post a screenshot of the menu in the menu manager so we can try to replicate. If the parent is a lower level of permission than the children it should work. I do this often

avatar barraclm barraclm - change - 11 Oct 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-10-11 20:59:02
Closed_By barraclm
avatar barraclm barraclm - close - 11 Oct 2017
avatar barraclm
barraclm - comment - 11 Oct 2017

Attached is a pdf of the published menu items. The apparent problem area is highlighted on page 6. A reminder, all works well if you are not logged in. If you change the two Download items to 'public' then menu still works when logged in. If the Download menu items are 'registered' then the menu breaks if you log in (registered or super user).
whatzon.info-Menus Items Main Menu.pdf

The hierarchy is

HOME (public)
DANCE (public)

CHARLES BOLTON (public)

INTRODUCTION (public)
DOWNLOAD RETREADS (registered)
DOWNLOAD RETREADS (registered)

avatar infograf768
infograf768 - comment - 12 Oct 2017

Any reason you closed this?

In any case, with this setting
screen shot 2017-10-12 at 09 36 42

In Protostar I get sub menus set to registered OK, once logged

screen shot 2017-10-12 at 09 35 19

avatar ReLater
ReLater - comment - 12 Oct 2017

I've created a menu like advised (with same menu item types)...
12-10-_2017_10-24-10

... logged in:
12-10-_2017_10-22-19

==> I cannot confirm this issue.

avatar barraclm barraclm - change - 12 Oct 2017
Status Closed New
Closed_Date 2017-10-11 20:59:02
Closed_By barraclm
avatar barraclm barraclm - reopen - 12 Oct 2017
avatar barraclm
barraclm - comment - 12 Oct 2017

Oops - sorry, closed this by mistake.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 13 Oct 2017

Issue looks like a unconfirmed Report.

avatar franz-wohlkoenig franz-wohlkoenig - change - 13 Oct 2017
Status New Information Required
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 22 Oct 2017

If this Issue get no Response, it will be closed at 26th November 2017.

avatar barraclm
barraclm - comment - 24 Oct 2017

I am more than puzzled. The issue has now gone away after a template upgrade which was supposed to have nothing to do with my issue! Thank you to everyone who has looked into this for me.

avatar barraclm barraclm - close - 24 Oct 2017
avatar barraclm barraclm - change - 24 Oct 2017
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2017-10-24 06:41:41
Closed_By barraclm

Add a Comment

Login with GitHub to post a comment