? ? ? Failure

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
22 Aug 2016

Grace to the new modals for menu items, we can now add a new editor-xtd to insert menu items links in content.

Instructions:
Install a 3.7.0 (not necessary to patch first with #11694 but modal title would look better)
Patch with this PR.
Discover the new plugin. Enable it.

Edit an article or create a new one
The editor now shows a new button "Menu"

screen shot 2016-08-22 at 10 33 48

depending if the site is multilingual or not, the language will be appended to the link when the menu item is tagged to a specific content language.

By toggling the editor you should get:
<p><a href="index.php?Itemid=111">newsfeed category menu</a></p>
or
<p><a href="index.php?Itemid=107&amp;lang=fr-FR">menu article fr-FR</a></p>

test the results in frontend.

avatar joomla-cms-bot joomla-cms-bot - change - 22 Aug 2016
Category Administration Components SQL Postgresql MS SQL Language & Strings Installation Plugins Front End
avatar infograf768 infograf768 - open - 22 Aug 2016
avatar infograf768 infograf768 - change - 22 Aug 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 22 Aug 2016
Labels Added: ? ?
avatar jreys jreys - test_item - 22 Aug 2016 - Tested successfully
avatar jreys
jreys - comment - 22 Aug 2016

I have tested this item successfully on d95c1f9


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

avatar jeckodevelopment jeckodevelopment - change - 22 Aug 2016
Labels Added: ?
avatar infograf768
infograf768 - comment - 22 Aug 2016

Changed constants and icon

screen shot 2016-08-22 at 15 55 07

Need more testers to get RTC

avatar brianteeman
brianteeman - comment - 22 Aug 2016

Thank you @infograf768

On 22 August 2016 at 14:59, infograf768 notifications@github.com wrote:

Changed constants and icon

[image: screen shot 2016-08-22 at 15 55 07]
https://cloud.githubusercontent.com/assets/869724/17857262/5654e44e-6881-11e6-93c4-b23192da88c2.png

Need more testers to get RTC


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#11721 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8YZftytAadeTY00OteicTJvzp8Eeks5qiatEgaJpZM4JppD7
.

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar infograf768
infograf768 - comment - 22 Aug 2016

need tests on issue.joomla.org

avatar alikon alikon - test_item - 23 Aug 2016 - Tested successfully
avatar alikon
alikon - comment - 23 Aug 2016

I have tested this item successfully on aef16e1


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

avatar infograf768 infograf768 - change - 23 Aug 2016
Status Pending Ready to Commit
avatar infograf768 infograf768 - alter_testresult - 23 Aug 2016 - Jreys: Tested successfully
avatar infograf768
infograf768 - comment - 23 Aug 2016

RTC

Thanks @wilsonge for merging into 3.7.x


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

avatar joomla-cms-bot joomla-cms-bot - change - 23 Aug 2016
Labels Added: ?
avatar infograf768
infograf768 - comment - 23 Aug 2016

after merge, we will have to add this to the xmls where the xtd plugins are disabled.

avatar zero-24
zero-24 - comment - 23 Aug 2016

Which xmls do you mean @infograf768 ?

avatar dgt41
dgt41 - comment - 23 Aug 2016

mod_custom, com_bannres etc. All the places that initiate an editor but the user is not supposed to be able to insert a link to a menu

avatar brianteeman
brianteeman - comment - 23 Aug 2016

The only one I would think you need to do this for would be com_banners
where the text is an admin only feature.

On 23 August 2016 at 13:59, Dimitri Grammatikogianni <
notifications@github.com> wrote:

mod_custom, com_bannres etc. All the places that initiate an editor but
the user is not supposed to be able to insert a link to a menu


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#11721 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8cZ2Mm6NebyBBdwn03glpEGH6cO0ks5qiu6wgaJpZM4JppD7
.

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar infograf768
infograf768 - comment - 23 Aug 2016

Concerning hiding the editors-xtd_menu, we have
message.xml:27: hide="readmore,pagebreak,image,article,module" />
where I guess we should add it to the list
not sure about banner as article is authorised there
banner.xml:95: hide="readmore,pagebreak,module"

mod_custom is a special case as we have it both in admin and site. We will have to look at that.

avatar brianteeman
brianteeman - comment - 23 Aug 2016

the banner wysiwyg only ever displays in the admin so although you could
let someone insert a menu link it wont work

On 23 August 2016 at 17:29, infograf768 notifications@github.com wrote:

Concerning hiding the editors-xtd_menu, we have
message.xml:27: hide="readmore,pagebreak,image,article,module" />
where I guess we should add it to the list
not sure about banner as article is authorised there
banner.xml:95: hide="readmore,pagebreak,module"


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#11721 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8SlXUCgVlGXHrzdlHpedlXEG-sFAks5qix_SgaJpZM4JppD7
.

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar infograf768
infograf768 - comment - 24 Aug 2016

the banner wysiwyg only ever displays in the admin so although you could let someone insert a menu link it wont work

I guess we therefore should correct the xml and add article to the hide list

avatar wilsonge wilsonge - change - 28 Aug 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-08-28 20:34:39
Closed_By wilsonge
avatar brianteeman brianteeman - change - 30 Aug 2016
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment