Skip to content
This repository was archived by the owner on Feb 4, 2020. It is now read-only.

adjust menu and url links#179

Closed
lavipr wants to merge 3 commits intojoomla:releasefrom
lavipr:menulinks
Closed

adjust menu and url links#179
lavipr wants to merge 3 commits intojoomla:releasefrom
lavipr:menulinks

Conversation

@lavipr
Copy link
Contributor

@lavipr lavipr commented May 9, 2019

Pull Request for Issue # .

Summary of Changes

some links were not correct. E.g. after edit the url changes with view parameter and the links in the menu don't match anymore so the correct active menu element can't be set to active.
So most of the links are now the same before and after edit.

Testing Instructions

Please install new and check the active menu items.

Expected result

When switching from a list view to the edit view and coming back to the list view, the menu should have an active open menu like before entering to the edit view.

Actual result

After editing there is no active menu-item.

Documentation Changes Required

lavipr added 2 commits May 9, 2019 16:17
some links were not correct. E.g. after edit the url changes with view parameter and the links in the menu don't match anymore so the correct active menu element can't be set to active.
So most of the links are now the same before and after edit.

change class a.collapse to a.has-arrow. Seems that first one isn't used anymore.
@lavipr
Copy link
Contributor Author

lavipr commented May 9, 2019

This works when menu items have no submenu (so the third menu right to the menu).
And I don't know how to set the right url for com_fields&view=groups. There need to be add a context but I can't find the right file to change it.

@lavipr lavipr requested review from Hackwar and bembelimen May 9, 2019 14:35
@brianteeman
Copy link
Contributor

Surely this is nothing to do with the template and should be handled in the main repo. There you will see another pr joomla/joomla-cms#24801 that addresses this issue - the correct way

@lavipr
Copy link
Contributor Author

lavipr commented May 11, 2019

Thanks. This can be closed now, as there is a pr in the main repo.

@lavipr lavipr closed this May 11, 2019
@brianteeman
Copy link
Contributor

This is a great example why the practice of some people making direct commits to this repo without it being subject to peer review has caused you so many problems in this repo.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants