? Pending

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
28 Jan 2017

Pull Request for Issue # .
New issue

Summary of Changes

Filter the possible menu assignment to display only site menu items

Testing Instructions

Create a new admin menu and some menu items.
Edit a Site template style. Display the Menu Assignment tab.

Before patch, the admin menu is displayed.

screen shot 2017-01-28 at 10 11 23

After patch, it is no more.

screen shot 2017-01-28 at 10 10 48

@izharaazmi

6efe818 28 Jan 2017 avatar infograf768 oops
avatar infograf768 infograf768 - open - 28 Jan 2017
avatar infograf768 infograf768 - change - 28 Jan 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 28 Jan 2017
Category Administration com_templates
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 28 Jan 2017

I have tested this item successfully on 6efe818


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

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 28 Jan 2017 - Tested successfully
avatar izharaazmi
izharaazmi - comment - 28 Jan 2017

@infograf768 I'd prefer updating the underlying JHtml method to respect now available client_id and then load only the required data. Doing that via layout doesn't sound good to me.

avatar infograf768
infograf768 - comment - 28 Jan 2017

no opposition to your prposal. please make pr

avatar Bakual
Bakual - comment - 28 Jan 2017

Unfortunately, the code here doesn't use JHtml. It uses MenusHelper::getMenuLinks(). Which is the method that needs fixing as it is used in many places (also 3rd party).
Should be easy to add a filter for the client there.

avatar Bakual
Bakual - comment - 28 Jan 2017

Please see #13791. Imho that is a better approach and will fix all instances in one place.

avatar infograf768 infograf768 - change - 28 Jan 2017
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2017-01-28 21:27:48
Closed_By infograf768
Labels Added: ?
avatar infograf768 infograf768 - close - 28 Jan 2017

Add a Comment

Login with GitHub to post a comment