Skip to content

[4.0] Moving com_finder submenu to mainmenu#24020

Closed
Hackwar wants to merge 20 commits intojoomla:4.0-devfrom
Hackwar:j4findermenu
Closed

[4.0] Moving com_finder submenu to mainmenu#24020
Hackwar wants to merge 20 commits intojoomla:4.0-devfrom
Hackwar:j4findermenu

Conversation

@Hackwar
Copy link
Member

@Hackwar Hackwar commented Feb 26, 2019

This adds menu item types for com_finder views, removes the submenu and adds them into the mainmenu.

How to test

  1. Apply patch
  2. Go to database view and click on "fix"
  3. Go to menu manager -> All menu items and click "rebuild"
  4. See that the Smart Search menu item can now open up and contains 4 sub menu items and that the submenu in the actual views has been removed.

@joomla-cms-bot joomla-cms-bot added Language Change This is for Translators PR-4.0-dev labels Feb 26, 2019
@brianteeman
Copy link
Contributor

Please alpha sort the language file and check to see if we need the _DESC - most of those are completely unnecessary and we have in general removed all _DESC from J4

@Hackwar
Copy link
Member Author

Hackwar commented Feb 26, 2019

Fixed the language string. The DESC string is maybe not necessary, but it is still used everywhere (100+ results if you search for it) so if you want to remove those, please do that consistently in another PR.

@brianteeman
Copy link
Contributor

@Hackwar It has already been done. The only _DESC strings that remain are the few that we are still displaying and the _DESC strings that are for DESCENDING not DESCRIPTION

@Hackwar
Copy link
Member Author

Hackwar commented Feb 26, 2019

No, it hasn't been done, because these strings are fresh from the backend menu items of com_content.

@brianteeman
Copy link
Contributor

image

@Hackwar
Copy link
Member Author

Hackwar commented Feb 26, 2019

@Hackwar
Copy link
Member Author

Hackwar commented Feb 26, 2019

There are currently 40 default.xml files with a DESC string in them in /administrator/components, excluding the 4 that I've added in this PR. As I said, if that is not wanted/allowed anymore, then please open a PR that removes all these.

@brianteeman
Copy link
Contributor

Sorry I didnt realise they were for the menu descriptions. Those are being kept - its the _desc that were used as tooltips that have gone .

/me needs coffee

@brianteeman
Copy link
Contributor

I have tested this item 🔴 unsuccessfully on 544ace4

Followed test instructions but didnt get a sub menu


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

@infograf768
Copy link
Member

infograf768 commented Mar 4, 2019

I have tested this item ✅ successfully on 8ac7581

tested OK on a clean install

screen shot 2019-03-04 at 17 11 30


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

@ghost ghost added the J4 Issue label Apr 5, 2019
@ghost ghost removed the J4 Issue label Apr 13, 2019
@infograf768
Copy link
Member

@Hackwar
Also please solve conflicts.

Hackwar added 3 commits May 20, 2019 12:10
…4findermenu

# Conflicts:
#	administrator/components/com_finder/Helper/FinderHelper.php
#	installation/sql/mysql/joomla.sql
#	installation/sql/postgresql/joomla.sql
@Hackwar
Copy link
Member Author

Hackwar commented May 20, 2019

I can't see the error that I have in the postgres SQL file. Could someone have a look here?

@Hackwar
Copy link
Member Author

Hackwar commented Jun 9, 2019

Tests have passed now.

@Quy
Copy link
Contributor

Quy commented Jun 9, 2019

I have tested this item ✅ successfully on e525eb7

OK with new install.
No submenus when updating using Patchtester, but it might be an issue with Patchtester. Manually ran update SQL successfully.


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

@chmst
Copy link
Contributor

chmst commented Jun 12, 2019

I have tested this item ✅ successfully on e525eb7

Tested successfully with new installation.


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

…4findermenu

# Conflicts:
#	installation/sql/mysql/joomla.sql
#	installation/sql/postgresql/joomla.sql
@Hackwar
Copy link
Member Author

Hackwar commented Aug 21, 2019

Could those who tested this earlier, please test again, so that we can merge this?

@richard67
Copy link
Member

@Hackwar You should adjust your testing instructions. The Database Fix will not run the insert statements in the schema update because it only handles DDL, as I mentioned in in my comment above. People either have to do a clean install or they have to run the insert statements from the schema update in PhpMyAdmin (or PgMyAdmin if PostgreSQL) after having applied the patch.

@brianteeman
Copy link
Contributor

Please remove the composer.lock file

@brianteeman
Copy link
Contributor

I have tested this item 🔴 unsuccessfully on 822d13b

Work ok on a clean install
Does not work on an update - no submenus - and yes I did paste the sql into phpmyadmin


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

@bees4ever
Copy link
Contributor

Unfortunaltely it is not wokring for me.

Submenu in the actual views has been removed but there are no 4 sub items in the menu.

Bildschirmfoto 2019-09-02 um 11 52 00

@bees4ever
Copy link
Contributor

I have tested this item 🔴 unsuccessfully on 7e9fac5

Unfortunaltely it is not wokring for me.

see #24020 (comment)


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

@roland-d
Copy link
Contributor

roland-d commented Sep 2, 2019

@Hackwar For me this also doesn't work. The submenu items are gone after applying the patch but the Fix database and Menu Rebuild doesn't add it to the submenu.

@roland-d
Copy link
Contributor

roland-d commented Sep 2, 2019

I have tested this item 🔴 unsuccessfully on 7e9fac5


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

@brianteeman
Copy link
Contributor

@roland-d can you or one of the students confirm my finding that it was ok on a clean install. Also re your comment about database fix see #24020 (comment)

@roland-d
Copy link
Contributor

roland-d commented Sep 2, 2019

@brianteeman The test done by @bees4ever was on a clean installation as in he cloned the repo, installed J4 and did the test.

@brianteeman
Copy link
Contributor

@roland-d can you or the students test #26137

@nadjak77
Copy link
Contributor

I have tested this item 🔴 unsuccessfully on 7e9fac5

not sure if I understand the right way.
point 4: if I do a new menu item "smart search" there is still only one submenu


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

@Quy
Copy link
Contributor

Quy commented Nov 9, 2019

Please test PR #27032


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

@Hackwar Hackwar deleted the j4findermenu branch October 23, 2020 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants