? ? ? Pending

User tests: Successful: Unsuccessful:

avatar chmst
chmst
22 Jun 2021

Pull Request for Issue #34594 .

Summary of Changes

There are two category lists, contact and article categories.
Users can get a link to the form where they can add a new item.

This PR removes the tooltip from the button and adds a more specific text.

Testing Instructions

Make a category list for contacts and article categories,
Login to get the permission for adding new items,
Compare the buttons before and after the PR.

Actual result BEFORE applying this Pull Request

see #34594

Expected result AFTER applying this Pull Request

grafik

Additional Information

The file create.php could be removed after this PR, at least I cannot find where it is used.

avatar chmst chmst - open - 22 Jun 2021
avatar chmst chmst - change - 22 Jun 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 22 Jun 2021
Category Administration com_contact com_content
avatar chmst chmst - change - 22 Jun 2021
The description was changed
avatar chmst chmst - edited - 22 Jun 2021
avatar chmst chmst - change - 22 Jun 2021
Title
Remove tooltip from add-new-buttons, add to the button.
[4.0] Remove tooltip from add-new-buttons
avatar chmst chmst - edited - 22 Jun 2021
avatar brianteeman
brianteeman - comment - 22 Jun 2021

This PR removes the only use of a layout and two strings

avatar ChristineWk ChristineWk - test_item - 22 Jun 2021 - Tested successfully
avatar ChristineWk
ChristineWk - comment - 22 Jun 2021

I have tested this item successfully on d4ad18c


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

avatar ChristineWk
ChristineWk - comment - 22 Jun 2021

Got this result:

screen shot 2021-06-22 at 20 35 36


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

avatar ChristineWk
ChristineWk - comment - 22 Jun 2021

<a href="/example.org/index.php/list-contacts?task=contact.add&amp;return=aHR0cHM6Ly93d3cud2Fsa2MuYXQvc2FuZGtpc3RlNC9pbmRleC5waHAvbGlzdC1jb250YWN0cw==&amp;id=0&amp;catid=25" class="btn btn-primary">New Contact</a>

avatar ChristineWk
ChristineWk - comment - 22 Jun 2021

New article:

screen shot 2021-06-22 at 20 48 43


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

avatar chmst
chmst - comment - 22 Jun 2021

@Bakual could you please have a look here? I would like to remove the language keys and the layout too but have no clue if there is a "legacy" reason for that.

Thanks for testing @ChristineWk .. maybe I will ask you to repeat :)

avatar Bakual
Bakual - comment - 22 Jun 2021

The strings can be removed for sure as they are specific to the extension and can't be used by others.

The JLayout could be used by 3rd party as it doesn't contain any extension specific code. I honestly don't know if it's used or not, It certainly isn't a very important one and could be easily replaced with one or two lines of code in the extension. So I'd say it's save to remove as well.

avatar chmst
chmst - comment - 23 Jun 2021

I know that weblinks useses the language string JNEW, as it is such a generic string. There it is not a problem as the component is reviewed for J4.

avatar brianteeman
brianteeman - comment - 23 Jun 2021

I was referring to COM_CONTACT_CREATE_CONTACT and COM_CONTENT_CREATE_CONTACT

avatar richard67
richard67 - comment - 23 Jun 2021

I was referring to COM_CONTACT_CREATE_CONTACT and COM_CONTENT_CREATE_CONTACT

@brianteeman I guess you mean COM_CONTACT_CREATE_CONTACT and COM_CONTENT_CREATE_ARTICLE

avatar chmst chmst - change - 23 Jun 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 23 Jun 2021
Category Administration com_contact com_content Administration com_contact com_content Language & Strings
avatar ChristineWk ChristineWk - test_item - 23 Jun 2021 - Tested successfully
avatar ChristineWk
ChristineWk - comment - 23 Jun 2021

I have tested this item successfully on bd51995


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

avatar ChristineWk
ChristineWk - comment - 23 Jun 2021

Checked language strings:

screen shot 2021-06-23 at 11 21 21


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34601.
avatar ChristineWk
ChristineWk - comment - 23 Jun 2021

previous screenshot corrected:

screen shot 2021-06-23 at 11 27 24


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34601.
avatar RickR2H RickR2H - test_item - 25 Jun 2021 - Tested successfully
avatar RickR2H
RickR2H - comment - 25 Jun 2021

I have tested this item successfully on bd51995


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

avatar richard67 richard67 - change - 25 Jun 2021
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 25 Jun 2021

RTC


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

avatar wilsonge wilsonge - close - 30 Jun 2021
avatar wilsonge wilsonge - merge - 30 Jun 2021
avatar wilsonge wilsonge - change - 30 Jun 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-06-30 07:47:06
Closed_By wilsonge
Labels Added: ? ?
avatar wilsonge
wilsonge - comment - 30 Jun 2021

Thanks!

avatar wilsonge
wilsonge - comment - 30 Jun 2021

If the layout is unused can someone do an additional PR to deprecate it for 5.0 please

avatar brianteeman
brianteeman - comment - 30 Jun 2021

See #34656

Add a Comment

Login with GitHub to post a comment