Creation group

12 years 11 months ago #164769 by AirVe
Replied by AirVe on topic Re: Creation group
Hello,

I think that I found the CSS file. Is this correct?

components/com_comprofiler/plugin/user/plug_cbgroupjive/templates/default/template.css

Can you tell me where are the lines on the following fields because no code says ?

Reminder: just hide fields on page group create :

Type
Access
Prompt access
Public User
Notify

And i think TAB:
Integrations
wall Integration
Wall
Public
Post

Please Log in to join the conversation.

12 years 11 months ago #164786 by krileon
Replied by krileon on topic Re: Creation group

components/com_comprofiler/plugin/user/plug_cbgroupjive/templates/default/template.css

Yes this is the correct path.

Can you tell me where are the lines on the following fields because no code says ?

It doesn't exist, there's no specific CSS; it's all generalized in an API standard. Meaning the CSS used all throught GJ preventing duplicate styling. You need to add new CSS targeting those specific fields. Using Firebug you could inspect the page revealing their classes, ids, etc.. to hide them. Best approach is to remove them entirely from the PHP file group_edit.php otherwise someone could remove the CSS at any time and edit the inputs as they see fit.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

12 years 11 months ago #164810 by AirVe
Replied by AirVe on topic Re: Creation group
OK But if I remove them from the groupe_edit.php do default values ​​of these fields will be preserved?

I ask many questions can be, because I'm not a developer.
Thank you

Please Log in to join the conversation.

12 years 11 months ago - 12 years 11 months ago #164881 by krileon
Replied by krileon on topic Re: Creation group

OK But if I remove them from the groupe_edit.php do default values ​​of these fields will be preserved?

Yes, PHP validation is designed to set defaults. This assumes you are not removing any fields labelled as "Required".

I ask many questions can be, because I'm not a developer.

It's all about trial and error, simply make a backup, edit the file, test and see if it's to your liking.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

12 years 11 months ago - 12 years 11 months ago #164905 by AirVe
Replied by AirVe on topic Re: Creation group
Hello Krileon,

It's working fine
here
[REMOVED]

Could you tell me if this code do not make some error in the futur ?

Thanks
Airvé

Please Log in to join the conversation.

12 years 11 months ago #164912 by krileon
Replied by krileon on topic Re: Creation group
Please do not post GJ source, it is only available to subscribers and not meant to be made public.

I can not tell you if your changes are future proof; they will be lost on upgrade of course and you'll need to re-add the changes each upgrade or provide your own template, which can override files (copy-paste default template in template folder; delete all but for group_edit.php in this copied folder then select your template from backend).


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.252 seconds

Facebook Twitter LinkedIn