Sync with Community Builder

  • Bob Leavitt
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 3 months ago #109543 by Bob Leavitt
Replied by Bob Leavitt on topic Sync with Community Builder
Yes it works! Last night I must have had a caching problem or something like that in either Joomla or the browser. The fields are gone today.
Thanks so much!
Bob

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #109555 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Sync with Community Builder
OK, great :)

Tuan

Please Log in or Create an account to join the conversation.

  • Bob Leavitt
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 3 months ago #109584 by Bob Leavitt
Replied by Bob Leavitt on topic Sync with Community Builder
Tuan, I checked the group registration form and the date fields are still visible. These must be different fields from those used on the individual registration form. Please advise how to create the CSS for these fields to make them non-display. The link is shown below. Also if the attendees in a group registration are registered users on the web site will their data be populated from their CB profile into these fields?

estesparknewcomers.org/index.php/special...t/group-registration

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago - 7 years 3 months ago #109586 by James Riley
Replied by James Riley on topic Sync with Community Builder
In the group member form, event booking adds an "underscore + GroupMemberNumber" (eg: _1 _2 _3 etc) to the field name so that the ID's applied to the div element remain unique.

Try adding this CSS in addition to what you've already added:
[id^="field_RegisteredPerspective_"], [id^="field_RecognizedPerspective_"], [id^="field_RecognizedNew_"]
{
display: none;
}
What this CSS will do is look for all ID's that start with "field_RegisteredPerspective_" (etc.) and apply the CSS rule to all the macthes.

If that works, you could actually replace Tuan's and my above CSS just with just:

[id^="field_RegisteredPerspective"], [id^="field_RecognizedPerspective"], [id^="field_RecognizedNew"]
{
display: none;
}

(I've removed the "_" from the end of each id attribute selector) as this should match both the individual & group instances of the IDs.

James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Last edit: 7 years 3 months ago by James Riley.

Please Log in or Create an account to join the conversation.

  • Bob Leavitt
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 3 months ago #109598 by Bob Leavitt
Replied by Bob Leavitt on topic Sync with Community Builder
James,
Thanks for helping out. So far this did not work, the date fields are still showing. Here is the complete custom code I entered:

#field_RegisteredPerspective, #field_RecognizedPerspective, #field_RegisteredPerspective, #field_RecognizedNew
{
display: none;
}
[id^="field_RegisteredPerspective_"], [id^="field_RecognizedPerspective_"], [id^="field_RecognizedNew_"]
{
display: none;
}

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #109607 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Sync with Community Builder
Hi

I don't think you can use this approach for group members because the data for group members is not pre-populated from Community Builder at all

Maybe the right approach would be not showing these fields for group members form at all. Edit the fields, set Display In to Both Individual and Group Registration Billing Form should have it works as expected

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Bob Leavitt
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 3 months ago #109640 by Bob Leavitt
Replied by Bob Leavitt on topic Sync with Community Builder
If I don't show these fields on the group registration will the dates from CB still come across into these registration records (for the primary registrant)?

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #109641 by James Riley
Replied by James Riley on topic Sync with Community Builder
Actually, the CSS code **is** working on your site.

Screenshot (with Property Inspector showing).

James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Attachments:

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #109650 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Sync with Community Builder
Yes, the data will still come from CB to Events Booking for the primary registrant (the group billing record)

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Bob Leavitt
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 3 months ago #109691 by Bob Leavitt
Replied by Bob Leavitt on topic Sync with Community Builder
The registration forms look correct now. As people register for new events I will review the records to ensure that the dates are coming across as expected. Thanks for all your help, and James Riley too.

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc