ngabo12
Forum Replies Created
-
Forum: Plugins
In reply to: [Translate Multilingual sites - TranslatePress] Mixed up ContentHi, I uninstalled everything then re did automatic translation with the Google Api, after some time the issue reoccurred even without me doing any manual translation. This time it put a different country and city
Forum: Plugins
In reply to: [Translate Multilingual sites - TranslatePress] Mixed up ContentAny luck?
Forum: Plugins
In reply to: [Translate Multilingual sites - TranslatePress] Mixed up Contentthanks for the response. How can I re edit the string so that it doesn’t imitate the translation memory? Also I already have Google api automatic translation enabled
But still the same issue
Thanks for your response and yes, Pretty permalinks are enabled
Hi Jonathan, thanks for the response. I solved it by creating a mapping object in Salesforce with value = publish . Thn I mapped that object of the wordpress object “post Status”
Thanks for the great plugin, All works well with ai1ec
PHP logs say the error is within: add_filter( ‘object_sync_for_salesforce_pull_params_modify’, ‘change_pull_params’, 10, 6 );
Update: I deleted the field WordPress(Post_status) = is published(salesforce) then the events started showing up again. But the events show up as drafts yet I didnt check Pull as draft
Thanks for the quick reply Jonathan. I used the developer hook and it worked at first. Now whenever events(Tribe Events) are created the post status is set to “1” even when in the object there is “Post_status” set to “..Is Published”
See what PHPMyadmin shows, https://imgur.com/a/6yup42D and when i change post_status = publish, all events show
Also when I put the developer hook:
add_filter( ‘object_sync_for_salesforce_pull_params_modify’, ‘change_pull_params’, 10, 6 );
function change_pull_params( $params, $mapping, $object, $sf_sync_trigger, $use_soap, $is_new ) {
$params[‘post_status’] = array(
‘value’ => ‘publish’,
‘method_modify’ => ‘wp_update_post’,
‘method_read’ => ‘get_post’,
);
return $params;
}I get an error: PHP Warning: Use of undefined constant ‘object_sync_for_salesforce_pull_params_modify’ – assumed ‘‘object_sync_for_salesforce_pull_params_modify’’ (this will throw an Error in a future version of PHP) in /home/tb8fd5jhp/public_html/wp-content/themes/Avada/functions.php on line 74
Line 74 is $params[‘post_status’] = array(
one last question, I am having a problem when Object Sync plugin creates events, the post status is set to 1 instead of publish. Meaning events dont show but show in the database
Hello. Everything worked but now, I cant see the events under the event tab but it shows the number of events present and no events
Thanks, using the developer hook worked..
Now I am left with the issue of mapping the saleforce event date to match the ai1ec events date. There is no object for ai1ec events date and I am wondering how easily I can create the objects
Thanks Jonathan for all the help.
I figured all out when I changed to use all in one events calendar..
The first time the events got pulled into wordprress from salesforce as drafts. So I changed the field maps and deleted the draft events in wordpress.
Then now I get this in debug>> https://imgur.com/a/Xlo7cWB
But the events are not showing anywhere,Thanks Jonathan, I am going through all you have recommended.
Just a quick question, Which events calendar easily syncs with Salesforce?Forum: Fixing WordPress
In reply to: Menu not showing in backendThanks esmi, renaming the plugins’ folder solved the issue. But now I guess I have to figure out which plugin is causing the issue.