?
avatar twister65
twister65
16 Aug 2017

Steps to reproduce the issue

In the administration menu, select :

  • Components -> Contacts -> Contacts
  • Some user...
  • Form
  • Show or Hide in the Contact Form dropbox.

Expected result

Show or hide the contact form.

Actual result

This action is ignored, it has no effect, it only supports the contact form option in the global configuration.

System information (as much as possible)

Joomla!3.7.4

Additional comments

avatar twister65 twister65 - open - 16 Aug 2017
avatar joomla-cms-bot joomla-cms-bot - change - 16 Aug 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 16 Aug 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 16 Aug 2017

Can't confirm. Form isn't shown if set in Contact to "Hide".

Have you tried using a clean Install using Protostar without any 3rd-Party-Plugins -Components?

avatar franz-wohlkoenig franz-wohlkoenig - change - 16 Aug 2017
Category com_contact
avatar franz-wohlkoenig franz-wohlkoenig - change - 16 Aug 2017
Status New Information Required
avatar tonypartridge
tonypartridge - comment - 16 Aug 2017

Also check the menu item params

avatar twister65
twister65 - comment - 17 Aug 2017

It is working in the menu item param : Menu -> Main menu -> Contact -> Mail options -> Contact form -> Hide or show.
But it is not working in the contact item param : Components -> Contacts -> Contacts -> "someuser" -> Form -> Contact form -> Hide or show.

I've just testing with joomla-cms-staging and joomla-3.7.4.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 17 Aug 2017

Have you tried using a clean Install using Protostar without any 3rd-Party-Plugins -Components?
Please ask help on the forums. This repository concerns Joomla coding.

avatar twister65
twister65 - comment - 17 Aug 2017

Yes, it's a clean install using Protostar without any 3rd-Party-Plugins -Components.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 17 Aug 2017

Tried again, can't confirm Issue.

Used Sample Sites, appended to Contact "Owner" a linked user > show/hide works as expected.


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

avatar twister65
twister65 - comment - 17 Aug 2017

Just do :
1- Components -> Contacts -> Contacts -> New
Select a user
Fill the fields of the form
Save & Close

2- Menu -> Main menu -> New
Select Menu Item Type -> Contacts -> Single Contact
Select the contact you've just created.
Save & Close

3- Components -> Contacts -> Contacts
Click on the contact you've just created.
Click on Form
Select Hide in the "Contact Form" combobox.

4- Go to the front office (site preview)
Click on the contact item on your main menu
=> The contact form is still there !

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 17 Aug 2017

Done all 4 Steps. Form isn't shown., If Contact has a linked User Form is shown/hidden depending on Settings of Contact / Menu / Contact: Options.

avatar twister65
twister65 - comment - 17 Aug 2017

Only settings of the Contact menu item are supported, but not the settings of the Contact contact item ?

avatar coolcat-creations
coolcat-creations - comment - 22 Aug 2017

I confirm the issue

avatar matrikular
matrikular - comment - 23 Aug 2017

@twister65 please start reading here: #17476 (comment)


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

avatar twister65
twister65 - comment - 23 Aug 2017

@matrikular as you said in the issue #17476 , we have the same behavior with the articles.
I think this is not a good behavior.
If you like it, you can close this issue.

avatar matrikular
matrikular - comment - 23 Aug 2017

I'm not sure what you mean with "this is not a good behavior". Would you care to elaborate?

I would recommend to see it as a usefull feature rather than in terms of "good vs bad". As mentioned before, if it wasn't for that behavior, we could just drop all options from the specific menu items, because they would be useless. The example I've given shows a good and valid usecase, I believe. Where do you see a flaw in that?

The issue can (should) only be closed by you.

avatar twister65
twister65 - comment - 23 Aug 2017

Okay, close this issue.
It can be discussed on the forum.
Regards.

avatar franz-wohlkoenig franz-wohlkoenig - change - 23 Aug 2017
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2017-08-23 09:00:01
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 23 Aug 2017
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 23 Aug 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 23 Aug 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 23 Aug 2017

closed as stated above.


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

Add a Comment

Login with GitHub to post a comment