By L'Eclaireur SARL on Wednesday, 04 January 2017
Posted in Groups
Likes 0
Views 555
Votes 0
Hi,

I have some questions about groups field

For event create: How I can checked Owner and admin by default for all new group ?
For stream permission : How I can checked Admin by default for all new group ?
For group notification type : How I can hidden this div in creating group ?
For group type : How I can hidden this div in creating group ? I want only private group.

Thank you.
Hi Virginie Lopez,

Kindly find my response to your inquiries below:
I have some questions about groups field
For event create: How I can checked Owner and admin by default for all new group ?
-> Can you download the attached file and replace it in the file:
JoomlaFolder/media/com_easysocial/apps/fields/group/eventcreate/themes/default/content.php
and see how it goes?
You're suggested to backup the file that you want to replace beforehand for precaution

For stream permission : How I can checked Admin by default for all new group ?
-> By default, it will checked 'Allow admins to post into this group' http://screencast.com/t/fxnX0KpFZyvF

For group notification type : How I can hidden this div in creating group ?
-> You can use these 2 option:
[Just delete the group notification type field]
1. Click Group>Categories>Choose category>Custom Fields> delete the field http://screencast.com/t/JvKygrTrF
[Hide using css *effect each of the group creation]

#es .DS07181495633910693 {
display: none;
}


For group type : How I can hidden this div in creating group ? I want only private group.
-> Unfortunately, there is no setting to hide this creating group and only show the private group currently
·
Wednesday, 04 January 2017 12:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Thank's for your answer.

File works fine !

But for "group notification type" : I can't delete this field because if I delete it, I have an error on my "profil group" and I can't to register.
And with css, the number class changes each team I create a new group, so I can't hidden like that.

It's the same problem with "group type".

So Can I add a class name in code file which generate this form ? And where is this file ?

Bye !
·
Wednesday, 04 January 2017 21:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Virginie,

Unfortunately both of the fields that you mentioned cannot be hidden or it cannot be disabled as these are required attributes of a group.

Should you want to modify the fields, you can do so by customizing it in the following locations:

/media/com_easysocial/apps/fields/group/type/type.php
/media/com_easysocial/apps/fields/group/notification/notification.php
·
Wednesday, 04 January 2017 22:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Finally I have just added a class name in template/my_template/html/groups/steps/default.php files when $fields->element = notification or type.

But in future, developper could be add this option in backend, no? We can choose a default value, so why we couldn't to choose to hidden or not in creation group ?

Thank's for your help
Have a goog day
·
Thursday, 05 January 2017 18:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Virginie Lopez,

Finally I have just added a class name in template/my_template/html/groups/steps/default.php files when $fields->element = notification or type.

-> That was a great way Virginie

But in future, developper could be add this option in backend, no? We can choose a default value, so why we couldn't to choose to hidden or not in creation group ?

-> I'm not really sure every users find this thing should be in the main core. Perhaps you can create a ticket in the feature request category here : https://stackideas.com/forums/easysocial/feature-requests-2

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.

Have a nice day ahead
·
Thursday, 05 January 2017 18:51
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post