AzRalL
Forum Replies Created
-
Forum: Plugins
In reply to: [Object Sync for Salesforce] Multilanguage supportSince I can’t edit my previous post here is a quick update.
I’ve started to read through the source code and as I understand it, for each fieldmap that exists we create an soql query and queue it but only if the Id doesn’t already exist (https://github.com/MinnPost/object-sync-for-salesforce/blob/master/classes/salesforce_pull.php#L302)
Could that be the reason why only one post is added despite having two fieldmaps?
- This reply was modified 5 years, 6 months ago by AzRalL.
Forum: Plugins
In reply to: [Object Sync for Salesforce] Multilanguage supportHey Jonathan,
thanks for the quick answer. I would gladly create a pull request if I end up implementing this feature. For now I am just testing around.
I created two fieldmaps as you said.
Fieldmap 1:
Wordpress Object: post
Salesforce Object: Productpost_title <-> Product Name
post_content <-> Product DescriptionFieldmap 2:
Wordpress Object: post
Salesforce Object: Productpost_title <-> Product Name (DE)
post_content <-> Product Description (DE)If I add a Product in Salesforce it results in one post being created in WordPress. But I would expect that two posts are created since the fields are different. Is there an option I can adjust to get this result?
For the multilanguage adjustments I would roughly do something like this:
1. Add a select field to the fieldmap settings that displays available languages that are set in Bogo Options
2. Save the language with the fieldmap data
3. For each Fieldmap check for the language and add a_locale
entry with the respectivepost_id
and language value from the fieldmap via theset_more_post_data
hook.Do you think it can be done with these adjustments or am I missing something crucial? For example would I have to adjust the queue logic or the push/pull logic?
Regarding the
salesforce_pull
action I think for my purpose I would want to create posts for each language regardless if they have values or not. So if a product only has one translation but 4 more languages where there are no values than I would still want 6 posts beings created.best regards
Forum: Plugins
In reply to: [WP Go Maps (formerly WP Google Maps)] Possible to have 3D View?Hey,
thanks for the quick answer. I dont mean Streetview but the 45 degree angle view when using satellite / earth.
PS: I am using the PRO Version of your Plugin if that helps regarding this feature.
- This reply was modified 7 years, 12 months ago by AzRalL.
Thanks for the quick reply,
here is what part of my template looks like:
<?php echo get_the_ID(); ?>
<?php echo do_shortcode('[contact-form-7 id="2" title="myform"]'); ?>
<?php the_content(); ?>
which results in the following output:
the first line displays the ID of the current post, so we should be in the loop here
the form gets displayed but without the page id in the unit tag
the content of the post gets displayedI also tested adding the following to the template:
if ( in_the_loop() ) { echo "we are in the loop!";}
It doesnt print anything out, so we are not in the loop?
Forum: Fixing WordPress
In reply to: WordPress Backend broken (load-scripts.php error 400)Deleting the .htaccess file resolves the problem but then I cant access the frontend because I use RewriteBase for my WordPress Installation since its in a subdirectory of my domain.
This seems to be a problem with my Host, at least thats what I think
Forum: Fixing WordPress
In reply to: WordPress Backend broken (load-scripts.php error 400)Update: Doing a manual update of WordPress like it is suggested here didnt solve the problem https://wordpress.stackexchange.com/questions/238043/admin-blank-page-with-working-front-end-after-updating-to-wordpress-4-6
Console still says:
https://mywebsite/wp-admin/load-scripts.php?…ery-core,jquery-migrate,utils,underscore,wp-util,wp-a11y,updates&ver=4.6.1 Failed to load resource: the server responded with a status of 400
When trying to access this url I get the following screen in google chrome
Bad Request
Your browser sent a request that this server could not understand.
Request header field is missing ‘:’ separator.
P/1.1The domain is running under https
- This reply was modified 8 years, 6 months ago by AzRalL.
Forum: Fixing WordPress
In reply to: WordPress Backend broken (load-scripts.php error 400)I looked up the errorlog file on my host and it stated the following error:
PHP Fatal error: Call to undefined function wp_raise_memory_limit()
I searched for the function in wp-includes/functions.php but couldnt find it so I tried to replace that file from a new WordPress but now I get an Error 500 when trying to access my sites Backend.
Any ideas?
Forum: Fixing WordPress
In reply to: WordPress Backend broken (load-scripts.php error 400)I forgot: Disabling all Plugins and changing the theme doesnt solve the problem
Hey thanks for the message and sorry for the delayed answer. Is there a way to contact you privately with a link to the website?
Forum: Plugins
In reply to: [Display Widgets] Hide works / show does notHey,
I have the same problem on one of my sites when switching to “show on checked pages” the widget doesnt appear at all. So I need to use “hide on checked pages” and check a ton of stuff which is time consuming. Already tried to reinstall the plugin didnt make a difference. The problem appeared without using wpml. Hope to see a fix soon
Forum: Plugins
In reply to: [Display Widgets] Show/hide for custom taxonomy term?Ok found out with the line numbers and + good documented!
But somehow I get a 500 Server Error on the whole site when changing the plugin fileForum: Plugins
In reply to: [Display Widgets] Show/hide for custom taxonomy term?Hey MarcGuay
I have the same problem where do I add your code?
Forum: Plugins
In reply to: [Sticky Popup] sticky popup showing page builder contentBut now shortcodes doesnt work anymore
Forum: Plugins
In reply to: [Sticky Popup] sticky popup showing page builder contentI managed to fix it I think. Open up “class-sticky-popup.php” and search for “the_content” and delete this line:
$this->popup_content = apply_filters(‘the_content’, $this->popup_content );
Forum: Plugins
In reply to: [Sticky Popup] sticky popup showing page builder contentHaving the same problem with SiteOrigin Page Builder. Did anybody fixed this?