Forum Replies Created
-
AuthorPosts
-
July 29, 2019 at 12:43 pm in reply to: trouble with the_content(); and Advanced Layout Editor #1122731
Hi,
Could you give me a WP admin account and FTP access to your staging site please?
I would need to add some debugging code and make some changes to see what is going on behind the sceen.
I’m this week on holiday – so it will be next week I can have a look into it.
Best regards,
GünterHi,
Sorry for the late reply – but I’ve recently been tagged for this topic.
I’m currently working on a solution for Enfold to handle scrset and size attribute for images. As this will affect many parts and ALB elements of Enfold a first step (hopefully in the next release) will provide a basic implementation for manageing this and then we will implement it step by step for the images. Depending when Kriesi will make the next releases more and more elements will support it.
Check the changelog.
Best regards,
GünterJuly 22, 2019 at 10:38 am in reply to: Use first slides caption as permanent caption disables open image in lightbox #1120792Hi,
This is the description of the checkbox “Use first slides caption as permanent caption” in fullwidth easy slider:
If checked the caption will be placed on top of the slider. Please be aware that all slideshow link settings and other captions will be ignored then
So this is a known limitation.
I added this issue to our dev repo to check if it is possible to add this feature in a future release. Please check the changelog for it.
Best regards,
GünterJuly 22, 2019 at 9:52 am in reply to: trouble with the_content(); and Advanced Layout Editor #1120775Hi,
Sorry, see private content for new link.
As Kriesi is on holiday I do not know when he will publish the next release.
Best regards,
GünterHi,
Strange. After update I had a revslider related js error. I added the revslider shortcode to a blank normal page – cleared server and browser cache – works.
I saved the ALB page – clear cache – now works (checked in FF and Chrome).Here is an updated revslider file:
Best regards,
GünterJuly 21, 2019 at 10:22 am in reply to: trouble with the_content(); and Advanced Layout Editor #1120586Hi,
Did you download the beta-3 version from https://kriesi.at/support/topic/trouble-with-the_content-and-advanced-layout-editor/#post-1119651 ?
The filter is not in the 4.5.7 version.
– Download the zip
– unzip on your local machine
– upload with ftp to your serverBest regards,
GünterJuly 20, 2019 at 2:15 pm in reply to: trouble with the_content(); and Advanced Layout Editor #1120443Hi,
This is the code to insert in functions.php:
But check the cangelog – could be that I will add a theme option for that.
Please open it in https://kriesi.at/support/forum/enfold/ at the bottom.
Seems there is something wrong with your MAMP install (/Applications/MAMP/bin/mamp/feed/fetchFeed.php on line 19).
And also make sure to increase WP Memory limit https://docs.woocommerce.com/document/increasing-the-wordpress-memory-limit/ and also add:define( 'WP_MAX_MEMORY_LIMIT', '256M' );
Best regards,
GünterJuly 19, 2019 at 1:12 pm in reply to: Issue with WooCommerce Product Grid on Avia Layout Builder #1120166Hi,
Sorry for the late reply.
The reason for the broken layout is that you put the layerslider in a codeblock element in a section.
Use the ALB element, or codeblock outside a section – then the output is correct – see link to testpage in private content.
Best regards,
GünterJuly 18, 2019 at 1:00 pm in reply to: trouble with the_content(); and Advanced Layout Editor #1119901Hi,
This is something different. Please open an own thread. But without having a chance to get access to your backend it is nearly impossible to help.
Check your php version and WP version, disable all plugins, try to reinstall the theme and WP.
Best regards,
GünterHi,
If you look a few lines above filter avf_preview_window_css_files you find a foreach where the default shortcode css file urls are added to $css as key and 1 as value.
You can add this filter to your elements in the constructor and then add:
$css['your URL to css file'] = 1;
Best regards,
GünterHi,
Glad we could fix the problem.
The ALB element Fullwidth Revolution Slider is a fullwidth element and wraps the shortcode [rev_slider id=”id#”][/rev_slider] in a section div.
Enfold does not use the other implementations you mentioned above. Can you give us an admin account and a link to the site so we can check what is not working as expected? You can create an own thread for the credentials so they are only visible to moderators and you.
Best regards,
GünterJuly 18, 2019 at 11:42 am in reply to: trouble with the_content(); and Advanced Layout Editor #1119884Hi,
Sorry for not being clear.
You can download the zip file mentioned above in private content an update your theme with FTP.
Adding that code to functions.php of the child theme (or parent theme) allows ALB shortcodes to be executed on ajax calls.
I think this should help to fix the problem. No need to hack the_content.
Best regards,
GünterHey!
What have yiou been editing in the template-builder.class.php file (function and a short code example).
Not clear what you really want to do
Regards,
GünterHi,
We have a beta release (4.5.7.1-beta-3) that incluudes a fix for the unlabeled contact form (and also some other aria related addons).
I add a link to this release in private content.
Other users please create an own thread and the moderators can provide you a link to this file.
Best regards,
GünterJuly 17, 2019 at 6:36 pm in reply to: trouble with the_content(); and Advanced Layout Editor #1119651Hi,
We extended the core with filter avf_alb_exec_sc_only (config-templatebuilder\avia-template-builder\php\shortcode-template.class.php line 442).
Returning true (boolean) allows to process shortcode also in backend (and on ajax calls) – same as modal preview does. But include checks otherwise you will break stylings in frontend output.
See private content.
This allows to use the normal WP content filter without the workaround mentioned by Ismael.
Best regards,
Günter- This reply was modified 5 years, 4 months ago by Günter.
Hi,
Can you please replace enfold\config-templatebuilder\avia-shortcodes\slideshow_revolution.php with the recently modified file:
Do not forget to make a backup of the original file for fallback, clear server and browser cache.
Best regards,
GünterHey S.,
Thanks for reporting this.
I forwarded this to Kriesi – but he is on holiday now and I do not know when he can answer.
But in my opinion if you are using https protocol the connection is secured by the protocol and browser/server manage the encryption. But I would recheck this with a network system administrator – your hoster will certainly help you in answering this question.
Plain http connections are of course insecure.
Best regards,
GünterHi,
Did you check filter avf_preview_window_css_files in config-templatebuilder\avia-template-builder\php\template-builder.class.php ( around line 732 ).
There you can add CSS files to be loaded for preview.Best regards,
GünterHi,
Thanks for the feedback.
Please check updated file https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_5_7/rev-slider/slideshow_revolution.php
Best regards,
GünterHi,
Can you please check once again the updated file https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_5_7/rev-slider/slideshow_revolution.php?
Do not forget to make a backup of the original file for fallback, clear server and browser cache.
Best regards,
GünterHi,
Can you please replace enfold\config-templatebuilder\avia-shortcodes\slideshow_revolution.php with:
Do not forget to make a backup of the original file for fallback, clear server and browser cache.
Best regards,
GünterHi,
I’m afraid – yes. Changing this behaviour is nearly impossible without rewriting WP core js files.
If you really need to limit href to either single or double quotes you can only do it by hooking in the_content filter with a very low priority (99999999) and replace it with preg_replace.
Best regards,
GünterHi,
I added the frame how to add the filter to functions.php and an dummy example:
You have to check with bedrock what exactly needs to be changed.
Best regards,
Günter -
AuthorPosts