User tests: Successful: Unsuccessful:
Pull Request for Issue from facebook
https://www.facebook.com/groups/joomla.deutschland/permalink/1346440042196465/
Save a content directy to a new menu item.
PR requires #26675
Update: Removes also the old useless "add menu item" button.
New Feature
Yes, maybe
PR for the user survey from facebook + 50 users voted
It's a global Save2Menu Function, could be finaly implement in any component
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_content Language & Strings |
It's a global Save2Menu Function, could be finaly implement in any component
Labels |
Added:
?
?
|
I have tested this item
When I apply the patch there is this message :
Warning: require(D:\xampp2\htdocs\pizza\libraries\vendor\composer/../hoa/consistency/Prelude.php): failed to open stream: No such file or directory in D:\xampp2\htdocs\pizza\libraries\vendor\composer\autoload_real.php on line 66
Fatal error: require(): Failed opening required 'D:\xampp2\htdocs\pizza\libraries\vendor\composer/../hoa/consistency/Prelude.php' (include_path='D:\xampp2\php\PEAR') in D:\xampp2\htdocs\pizza\libraries\vendor\composer\autoload_real.php on line 66
I have tested this item
When I apply the patch there is this message :
Warning: require(D:\xampp2\htdocs\pizza\libraries\vendor\composer/../hoa/consistency/Prelude.php): failed to open stream: No such file or directory in D:\xampp2\htdocs\pizza\libraries\vendor\composer\autoload_real.php on line 66
Fatal error: require(): Failed opening required 'D:\xampp2\htdocs\pizza\libraries\vendor\composer/../hoa/consistency/Prelude.php' (include_path='D:\xampp2\php\PEAR') in D:\xampp2\htdocs\pizza\libraries\vendor\composer\autoload_real.php on line 66
When I apply the patch there is this message
Warning: require(D:\xampp2\htdocs\pizza\libraries\vendor\composer/../hoa/consistency/Prelude.php): failed to open stream: No such file or directory in D:\xampp2\htdocs\pizza\libraries\vendor\composer\autoload_real.php on line 66
Fatal error: require(): Failed opening required 'D:\xampp2\htdocs\pizza\libraries\vendor\composer/../hoa/consistency/Prelude.php' (include_path='D:\xampp2\php\PEAR') in D:\xampp2\htdocs\pizza\libraries\vendor\composer\autoload_real.php on line 66
Title |
|
When I apply the patch there is this message
Warning: require(D:\xampp2\htdocs\pizza\libraries\vendor\composer/../hoa/consistency/Prelude.php): failed to open stream: No such file or directory in D:\xampp2\htdocs\pizza\libraries\vendor\composer\autoload_real.php on line 66
Fatal error: require(): Failed opening required 'D:\xampp2\htdocs\pizza\libraries\vendor\composer/../hoa/consistency/Prelude.php' (include_path='D:\xampp2\php\PEAR') in D:\xampp2\htdocs\pizza\libraries\vendor\composer\autoload_real.php on line 66
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26681.
Your Error has nothing to do with the patch
Category | Administration com_content Language & Strings | ⇒ | Administration com_content Language & Strings Libraries |
I have tested this item
good feature
I have tested this item
Yes! Nice.
I have tested this item
The following error message appaers by installaing the requested pr #26675 ( ! ) Warning: require(C:\wamp\www\joomla\libraries\vendor\composer/../hoa/consistency/Prelude.php): failed to open stream: No such file or directory in C:\wamp\www\joomla\libraries\vendor\composer\autoload_real.php on line 66
I've installad Joomla_4.0.0-beta1-dev-Development-Full_Package nightly build and
https://github.com/joomla-extensions/patchtester/releases/tag/4.0.0-beta2
So the same error as mentioned before.
Note: The autoload_real.php on line 66 seems an issue because other "pizza bug & fun attendees" have the save issue in Nijmegen (with other issues).
@brianteeman only in edit an exisiting and not with passing data
Maybe but this is not the solution as we now have two completely different "save to menu" type buttons with completely different styling and different code
@Didldu-Florian I was guessing that as answer indeed. However, it might be a bit confusing now, as the behaviour is now different for the same action (creating menu item) depending on if your article is saved (modal) or not yet (redirect). Can't we make the behaviour similar to both cases?
I would also make more sense to add it to the "Save & Close" dropdown, so "Save & Create menu" or something?
Yes, let me merge these in these PR, because the current feature is not helpful. It opens just the menu creatin in a modal and did not pass any data. Maybe we can use the button including my function. Will try to merge it.
@brianteeman did also removed the old add menu button
I have tested this item
It's fine
So we are waiting for new code to test again?
I have tested this item
Test OK
Sorry for late response. But this is not ready yet. Please remove this code, it was used by menu modal button
joomla-cms/administrator/components/com_content/View/Article/HtmlView.php
Lines 211 to 234 in 823e9c9
An observation - with the way workflows is setup now by default when you create an article it is in the unpublished state. So when you create a new article and save to menu the menu will 404 because the article it is linking to is not published yet
Can we go RTC ?
This needs tests again after last code changes.
One thing I just noticed is that because the default behaviour of a new article is for it to be unpublished on save if you "save to menu" then it will appear to not work on the frontend because the article is not published
@Didldu-Florian I'll test when I have time, if you don't hear in a few days feel free to prompt me.
I have tested this item
#jpbf19 #test1
I have tested this item
I have tested this Patch. It works!
This is simple & sweet feature.
#pbf19 #test2
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
?
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-11-02 23:49:07 |
Closed_By | ⇒ | wilsonge |
Thanks!
I have tested this item✅ successfully on 7a5d0c0
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26681.