? Success
Pull Request for # 8200

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
30 Oct 2015

This PR to solve #8200

The submenu title is incorrect in the db, therefore it does not use the right string COM_CONTACT_CONTACTS

Patch and make new installation or run the sql request (change #_ to your db prefix) on an existing site:

REPLACE INTO `#__menu` VALUES
(8, 'menu', 'com_contact_contacts', 'Contacts', '', 'Contacts/Contacts', 'index.php?option=com_contact', 'component', 0, 7, 2, 8, 0, '0000-00-00 00:00:00', 0, 0, 'class:contact', 0, '', 12, 13, 0, '*', 1);

In en-GB, the values of COM_CONTACT and COM_CONTACT_CONTACTS are the same (Contacts) in the en-GB.com_contact.sys.ini language file.
Therefore to test in en-GB, just modify the value of COM_CONTACT_CONTACTS

Result in French:
screen shot 2015-10-30 at 09 24 42

NOTE: I have just updated sql in /administrator/components/com_admin/sql/updates/mysql/3.5.0-2015-10-30.sql
I have not touched at postgres and sqlazure there. To who knows how to, please propose a PR for that.

avatar infograf768 infograf768 - open - 30 Oct 2015
avatar infograf768 infograf768 - change - 30 Oct 2015
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 30 Oct 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 30 Oct 2015
Category Language & Strings MS SQL Postgresql SQL
avatar zero-24 zero-24 - change - 30 Oct 2015
Rel_Number 0 8200
Relation Type Pull Request for
Easy No Yes
avatar mbabker
mbabker - comment - 30 Oct 2015

If you're only changing the one field an UPDATE foo SET bar query will be more efficient here. And the same syntax works for the other database types too (they just use different quoting structures).

avatar infograf768
infograf768 - comment - 30 Oct 2015

@mbabker
Will try

avatar alikon alikon - reference | 4006656 - 31 Oct 15
avatar infograf768
infograf768 - comment - 31 Oct 2015

Thanks @alikon :)

avatar infograf768
infograf768 - comment - 31 Oct 2015

We need here one more test to RTC.

avatar peterpeter
peterpeter - comment - 31 Oct 2015

@test
Tested successfuly on a fresh installation. Submenutitle/COM_CONTACT_CONTACTS could be overwritten while the mainmenu stays the same.

avatar peterpeter peterpeter - test_item - 31 Oct 2015 - Tested successfully
avatar peterpeter
peterpeter - comment - 31 Oct 2015

I have tested this item :white_check_mark: successfully on f3795d0

(finally found the 'Test this'-button ;)


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

avatar infograf768 infograf768 - alter_testresult - 1 Nov 2015 - alikon: Tested successfully
avatar infograf768 infograf768 - change - 1 Nov 2015
Status Pending Ready to Commit
avatar infograf768
infograf768 - comment - 1 Nov 2015

RTC as we have 2 good tests


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

avatar joomla-cms-bot joomla-cms-bot - change - 1 Nov 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 1 Nov 2015
Milestone Added:
avatar roland-d roland-d - change - 1 Nov 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-11-01 09:36:08
Closed_By roland-d
avatar roland-d roland-d - close - 1 Nov 2015
avatar joomla-cms-bot joomla-cms-bot - close - 1 Nov 2015
avatar roland-d roland-d - reference | 757473b - 1 Nov 15
avatar roland-d roland-d - merge - 1 Nov 2015
avatar roland-d roland-d - close - 1 Nov 2015
avatar joomla-cms-bot joomla-cms-bot - change - 1 Nov 2015
Labels Removed: ?
avatar ratenfanger
ratenfanger - comment - 22 Mar 2016

Just updated a Joomla installation (in a test environment) from 3.4.8 to 3.5 (using MySQL). The title of menu item with ID 8 was changed from "Geschiedenis" to "com_contact_contacts" as stated in this PR.
The changed menu item is shown on the frontend, so it is not the backend menu item which should be updated. I think I got a frontend menu item with ID 8 because I'm running this site since Joomla 1.5. A long time ago I migrated to 2.5 (and updated every release since then).

I think other people with (somehow) non-default menu item IDs may/will have the same problem. My proposal is to only change the title for menu items which matches the follow criteria:
a) only backend menu items (client_id = 1)
b) with title = 'com_contact'
c) in a submenu (level = 2)

For MySQL the following query does the job from phpMyAdmin:
UPDATE jml_menu SET title = 'com_contact_contacts' WHERE client_id = 1 AND level = 2 AND title = 'com_contact'

If you agree I wil be happy to change the queries and submit another PR. I also can help testing for MySQL because I did not upgrade my production installation yet.


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

avatar brianteeman
brianteeman - comment - 22 Mar 2016

@ratenfanger you are commenting on a pull request that was merged five months ago

avatar ratenfanger
ratenfanger - comment - 22 Mar 2016

@brianteeman sorry I thought this was the correct place to discuss my findings. Should I create a new issue and mention this PR?

avatar brianteeman
brianteeman - comment - 22 Mar 2016

Yes please

Add a Comment

Login with GitHub to post a comment