Forum Replies Created
-
AuthorPosts
-
Hi,
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 6 years, 3 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ünterHi,
There will be a theme option “Http security level for checking readability of merged files” in Performace Tab in the next release.
Best regards,
GünterHey!
There will be a theme option “Http security level for checking readability of merged files” in Performace Tab in the next release.
Regards,
GünterHi,
You can (should) us filters in the functions.php of your child theme – than you need not think about when theme updates of the parent theme are coming.
Best regards,
GünterHi,
Thanks for the staging site – and sorry for the late reply.
I could not find a logical reason why the first event is skipped in the query – could be the offset parameter, the only difference to the upcoming event query.
As a workaround I start the query now 4 days before (interesting that 1 day before also does not return the first event). See line 113ff in events_countdown.php of your child theme.
As this might cause problems to other users also I will add an option for that to the core.
Best regards,
GünterHi,
In file enfold\config-templatebuilder\avia-shortcodes\buttonrow\buttonrow.php at the bottom look for:
$output .= "<a href='{$link}' {$data} class='avia-button {$extraClass} " . $this->class_by_arguments('icon_select, color, size', $atts, true) . "' {$blank} {$style} >";
and replace with:
$output .= "<a title='{$atts['label']}' href='{$link}' {$data} class='avia-button {$extraClass} " . $this->class_by_arguments('icon_select, color, size', $atts, true) . "' {$blank} {$style} >";
Could be that adding a title to buttons will become part of the core. Check for changelog and options in the elements.
Best regards,
Günter -
This reply was modified 6 years, 3 months ago by
-
AuthorPosts