No WP-post-type selector in Activity type settings
Closed this issue · 5 comments
Hi there :)
I'm considering using the possibility to sync a wp-post-type with an activity type as describe in the redme.
However, in Civi -> Administer -> Customize Data and Screens -> Activity Types -> edit and activity, there is no selector to set the wp-post-type we want to sync.
for the sake of testing, I've checked with several type of activity and created a new post type.
Also note that the selector is indeed present when editing civi contact type.
Have I missed something in the set up process ?
Cheers
EDIT :
I've just seen that I do have a selector for activity linked to civicrm "contact" module only, not any module.
I don't really get why this restriction.
Let me provide a use case :
Use civi to manage an event
contact register to an event, pay for it, may ask to change something in their registration, the organisator may process this change... all this can/are log in the activity tab.
The organisator want to provide a front end feedback to the user, so the user can know what has been done or not (yet).
If I could sync any type of activity to a given post type (and use a taxonomy to differentiate activity by type) then I could provide selectively the activity on front end for the log-in wp-user <->civi contact
Thanks for the heads up @jbonlinea - I think I excluded certain Activity Types using code from CiviCRM Core that may not be entirely suitable for this context. I'll look into it.
Out of interest, which Activity Type didn't have the selector? Was it one you created? Or a built-in one?
Hi
well, at that time I tried built in "CiviEvent" activity type ;
but it appears that ONLY SOME "Contact" activities offer the select field to sync
ok I haven't tried every single built-in activities, but quite many ;)
Cheers
Fixed in e7e0842. Sync unusual Activity Types at your own risk :-)
:)
@christianwach what do you mean by "unsual" ? custom ?