? Pending

User tests: Successful: Unsuccessful:

avatar Devportobello
Devportobello
17 May 2017

Pull Request for Issue #15617 .

Summary of Changes

Added 1 parameter to XML modal_menu field to allow possibility to enable type of menu item

Testing Instructions

Create 1 menu eg: Main
Add to this menu some items like this:

Level - Item - Type
1 - Home - Article
2 - Activities - Menu heading
2.1 - Activity 1 - Article
2.2 - Activity 2 - Article
2.3 - Activity 3 - Article
3 - Contact - Article
image

Then go to modules > add a new module "Menu"
Select Menu : Main
Select base item : Activities
image

Expected result

Could select "Activites"

Actual result

Unable to see and select "Activities"

Final point

Maybe could better to use a disable parameter, if right, we need to modify all modal_menu to B/C

avatar Devportobello Devportobello - open - 17 May 2017
avatar Devportobello Devportobello - change - 17 May 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 17 May 2017
Category Administration com_menus Modules Front End
avatar infograf768
infograf768 - comment - 17 May 2017

Was that working in 3.6.5?

avatar Devportobello
Devportobello - comment - 17 May 2017

Yes working in 3.6.5;

UPDATED: prior of : 1f48268#diff-d5d92c503f1c0d0d4368cceb1e31ff4fR90

avatar Devportobello Devportobello - change - 17 May 2017
Labels Added: ?
avatar aaron-harding
aaron-harding - comment - 17 May 2017

Just applied this to a test site. When opening the modal and applying a filter, the whole menu item list is empty. The form submit on the filter is removing the "enable" param. This also happens on the pagination.

Adding:
<input type="hidden" name="enable" value="<?php echo $app->input->get('enable', '', 'string'); ?>" />

After:
https://github.com/Devportobello/joomla-cms/blob/06e5ca232714c5b5f781af269cbd9da2d1cf86bd/administrator/components/com_menus/views/items/tmpl/modal.php#L173

Solves this

avatar Devportobello
Devportobello - comment - 12 Jul 2017

local and fork repo was in bad situation... how can i erase this last commits T_T

avatar hrtrulz
hrtrulz - comment - 18 Oct 2017

Any update on getting this in to Joomla release? It really annoying I can't set the base item for menus when they are aliases

avatar infograf768
infograf768 - comment - 18 Oct 2017

To get this in, this PR has first to be updated to solve the conflicts.

avatar brianteeman
brianteeman - comment - 18 Oct 2017

and it has to have successful tests

avatar infograf768
infograf768 - comment - 18 Oct 2017

and it has to have successful tests

right and at first sight I am not sure it is B/C as some other modal_menu fields do not have a disable attrib (some redirects where one could choose a Heading as redirect) or creating an alias menu item aliased to another alias menu item, etc.)
But we really can't test until updated.

avatar Devportobello
Devportobello - comment - 18 Oct 2017

This need serious test, too much case...

avatar SharkyKZ
SharkyKZ - comment - 26 Nov 2019

@Devportobello Are you still around? Can you fix the conflicts?

avatar zero-24 zero-24 - change - 8 Aug 2021
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2021-08-08 20:08:54
Closed_By zero-24
Labels Added: ?
Removed: ?
avatar zero-24 zero-24 - close - 8 Aug 2021
avatar zero-24
zero-24 - comment - 8 Aug 2021

Dear @Devportobello

in preperation of the upcomming release of Joomla 3.10 we have used GitHubs rename feature to rename the staging branch into 3.10-dev. Usually GitHub moves all existing PRs towards the new branch just fine, but here it didnt work. The reason seems to be that the fork of the CMS that was used as base for this PR has been deleted so GitHub does no longer have a base to rebase the PR against the new branch and we are also not able to reopen the PR. For that reason GitHub closed this PR in my name, when this issue is still valid It would require a new PR against the new 3.10-dev or 4.0-dev branch.

Add a Comment

Login with GitHub to post a comment