Skip to content

Create Categories on-the-fly on Contact edit form#8634

Closed
pe7er wants to merge 2 commits intojoomla:stagingfrom
pe7er:contact_freecategory
Closed

Create Categories on-the-fly on Contact edit form#8634
pe7er wants to merge 2 commits intojoomla:stagingfrom
pe7er:contact_freecategory

Conversation

@pe7er
Copy link
Copy Markdown
Contributor

@pe7er pe7er commented Dec 9, 2015

This PR adds a new functionality to the Contact edit form that makes it possible to create & assign a new Category on the fly. See also PR #8623.

Testing Instructions

This PR uses some code in com_categories from PR #8623.
Please install PR #8623 before testing this PR.

Before the PR

Go to Components > Contacts > [New]
Create a new Contact (Title) and select an existing Category.

contact1

After the PR

Go to Components > Contacts > [New]
Create a new Contact (Title) and click on the Category dropdown.

contact2

The Category dropdown now has an option to add a new Category name.

contact3

Don't forget to click on to select your newly created Category.
When you save the Contact, the new category will be created.

contact4

After save the new Category will be in the category list (a hyphen is added in front of it).

@Kubik-Rubik Kubik-Rubik modified the milestones: Joomla! 3.5.0, Joomla! 3.6.0 Dec 10, 2015
@kleinhelmi
Copy link
Copy Markdown

I have tested this item ✅ successfully on c3997c0

tested on Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.5.15


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

@anibalsanchez
Copy link
Copy Markdown
Contributor

I have tested this item 🔴 unsuccessfully on c3997c0

I tested in the latest stating, but it does now allow to click on "Add new Category 'test'"


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

@brianteeman
Copy link
Copy Markdown
Contributor

I have tested this item 🔴 unsuccessfully on c3997c0


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

@brianteeman
Copy link
Copy Markdown
Contributor

@pe7er my test above was with 3.5rc - I just tested one of the other already RTC pr for this add category feature and that didnt work either so maybe its an issue since 3.5 that it doesnt work


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

@MATsxm
Copy link
Copy Markdown

MATsxm commented Mar 10, 2016

I have tested this item 🔴 unsuccessfully on c3997c0

unsuccessful on 3.5rc


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

@pe7er
Copy link
Copy Markdown
Contributor Author

pe7er commented Mar 11, 2016

Thank you all for testing!

I've to get back to the drawing board to check why it fails,
or I might redo this PR on J3.5 Stable when it has been released.
Thanks!

@brianteeman
Copy link
Copy Markdown
Contributor

@pe7er I will remove the RTC status on all of them for now with a note
saying you are reviewing them

On 11 March 2016 at 09:50, Peter Martin notifications@github.com wrote:

Thank you all for testing!

I've to get back to the drawing board to check why it fails,
or I might redo this PR on J3.5 Stable when it has been released.
Thanks!


Reply to this email directly or view it on GitHub
#8634 (comment).

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

@brianteeman
Copy link
Copy Markdown
Contributor

Ah - I just spotted you had to have #8623 applied first - I completely
missed that- let me retest

On 11 March 2016 at 10:02, Brian Teeman brian@teeman.net wrote:

@pe7er I will remove the RTC status on all of them for now with a note
saying you are reviewing them

On 11 March 2016 at 09:50, Peter Martin notifications@github.com wrote:

Thank you all for testing!

I've to get back to the drawing board to check why it fails,
or I might redo this PR on J3.5 Stable when it has been released.
Thanks!


Reply to this email directly or view it on GitHub
#8634 (comment).

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

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

@brianteeman
Copy link
Copy Markdown
Contributor

I have tested this item ✅ successfully on c3997c0


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

@brianteeman
Copy link
Copy Markdown
Contributor

Yeah - it was me being an idiot and not applying the other PR first

@anibalsanchez @MATsxm can you please retest and make sure that you apply #8623 first


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

@MATsxm
Copy link
Copy Markdown

MATsxm commented Mar 11, 2016

I have tested this item 🔴 unsuccessfully on c3997c0

I had already apply #8623 yesterday and was unsuccessful.

Try it again today (3.5rc) applying #8623 then applying #8634 and no way for me to create "Some New Category" :(

Sorry but still unsuccessful to me


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

@mikeveeckmans
Copy link
Copy Markdown

I have tested this item ✅ successfully on c3997c0

TEST OK


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

@brianteeman
Copy link
Copy Markdown
Contributor

I tested again and have no issues setting RTC


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

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Mar 31, 2016
wilsonge added a commit that referenced this pull request Apr 9, 2016
@wilsonge
Copy link
Copy Markdown
Contributor

wilsonge commented Apr 9, 2016

Merged with 745990f - thanks again Peter!

@wilsonge wilsonge closed this Apr 9, 2016
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Apr 9, 2016
@pe7er pe7er deleted the contact_freecategory branch September 25, 2018 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants