Forum Replies Created
-
AuthorPosts
-
Hi,
Glad we could help you.
Enjoy the theme and have a nice day.
Best regards,
GünterHi,
If you fill in the option “Autorespond Text” then the user gets a mail with (unless you use filter ‘avf_form_custom_autoresponder’):
Content of Autorespond Text
All (Form Labels : Content)But with the next version 4.8.3 I added a new option “Autorespond Text After Form Labels”.
The content of this is placed after the form labels.Is this what you meant ?
Best regards,
GünterHi,
Super.
Ja, diese Änderung geht jetzt auf allen PHP Versionen (7 und 8) und ich habe bereits den fix im core integriert (und auch schon auf https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_8_2/framework/class-responsive-images.php einen patch zur Verfügung gestellt).
Danke dass Du dies entdeckt hast.
Best regards,
GünterHi,
Thank you for the credentials. But I cannot log in (added to hosts file, but still does not work).
But I tried the following on my dev install and that worked for me:
– Create a page
– Click Button “Add New Custom Element”
– Create a “Gallery”
– Add 3 images to Gallery
– Lock the images of the gallery
– Save CET gallery
– Add a Special Heading to the page and add a title (to translate and to know which language)
– Add the custom gallery
– publish page
– Click Button “Edit Custom Element”
– hover over custom element Gallery and click green pencil left bottom to translate
– new Window opens, now translate special heading text using translation management to all languages, then close window
– Make sure, all images are translated
– Translate the page to all languages (actually only the special heading text)Now you should see the correct images in the different languages
Adding new images:
– Open any page
– Click Button “Edit Custom Element”
– Edit the custom Gallery – add e.g. an image – and save
– Now you must translate the custom gallery again in all languages to reflect the changes – this needs WPML to update and sync the page contentIf you now check the page it shows the new image and the translated image in the other languages (clear server cache when using a cache plugin)
Best regards,
GünterHi,
Bei 2. Problem hab ich einen bug in PHP < 8.0 gefunden im file enfold\framework\php\class-responsive-images.php function html_attr_image_src().
Hab ich auf Deinem Testserver korrigiert:
$key .= '';
und
case '0':
Jetzt werden alle Bilder gross angezeigt (siehe …/lightbox ).
In PHP 8.0 funktioniert meine ursprüngliche Lösung. Interessant, da die älteren PHP versionen datentyp toleranter sind.
Das 1. Problem – hat sich da etwas verbessert ?
Best regards,
GünterHi,
Thank you for sharing this. Very nice solution.
I added this to our dev repo. Thinking to extend this.
Best regards,
GünterHey sitebysite,
Thank you for using Enfold.
My first idea: are all images translated – did you lock the gallery images in the CET ?
If locked, then you can edit the gallery images only in the CET and not in the elements on a page.
If this does not help, please create an admin account for us so we can check your backend. Could be that we also need to get in contact with WPML.
And please also a link to the page – maybe you can create a test page with only 1 gallery so we can test.
Please also enable debug mode by adding the code provided in this link to your functions.php file which can be accessed from Appearance > Editor
This lets you view the shortcode for all the page elements.
Best regards,
GünterHi Roger,
Thank you very much. Already merged it into core.
Enjoy the weekend and stay safe from Corona.
Best regards,
GünterHey HilmerHC,
Thank you for using Enfold.
Did you already try to change the theme option:
WP Dashboard -> Enfold -> SEO Support -> Preprocessing Shortcodes In Header
to
“Allow to preprocess shortcodes” ?
Best regards,
GünterHi,
@comkapi thanks again for the language files. I added them to core. And I also fixed the unescaped characters in shortcode buttons and the toggles titles.
I case you see other problems with unescaped strings please let us know.Have a great day.
Best regards,
GünterHey Guenter,
Thanks for bringing this up. I added to our dev repo to include webp and svg. Will come step by step.
Best regards,
GünterMarch 31, 2021 at 1:54 pm in reply to: Custom Element Templates – Default sort order in ALB Tab #1291556Hi,
I added this filter:
usort( $tab, array( $this, 'sortByOrder' ) ); /** * @since 4.8.2 * @param array $tab * @param array $tabs * @param string $key * @return array */ $tab = apply_filters( 'avf_custom_elements_buttons_sort_order', $tab, $tabs, $key );
Will be in next update.
Best regards,
GünterMarch 30, 2021 at 3:32 pm in reply to: Frontend publisher pro insert Media object button not working #1291382Hi,
Please check your theme settings:
Theme Options -> Performance -> Disable Features -> Self hosted videos and audio features (WP-Mediaelement scripts)
and select “Always load media features”.
Then it should work.
Best regards,
GünterMarch 30, 2021 at 2:42 pm in reply to: Custom Element Templates – Default sort order in ALB Tab #1291369Hey M1000000,
Sorry for the late reply – but I was tagged for this topic today.
At the moment there is no way out of the box.
If you add to your functions.php file (in child theme):
add_theme_support( 'show_advanced_custom_element_options' );
in theme options – Custom Element tab you find a checkbox “Show advanced options” and there you find an option Custom Element Shortcode Buttons where you can select to group the custom elements similar to the normal elements.
If you have programming skills:
enfold\config-templatebuilder\avia-template-builder\php\element-templates.class.php line 2283:
usort( $tab, array( $this, 'sortByOrder' ) );
is the place where the default sort order is created in $tab.
We can add a filter here in the next release if this helps you.
Best regards,
GünterHi,
Thank you for bringing this up.
I added an issue to our dev repo and will have a look into it asap.
Best regards,
GünterHi,
Your welcome. If you need any futher assistance feel free to come back.
Enjoy the theme and have a nice day.
Best regards,
GünterHi,
Thank you for your feedback. We will keep this topic open. Have a great day.
Best regards,
GünterHi,
I tried to reproduce the problem on my dev server. Using WPML’s Advanced Translation Editor I’m not able to reproduce the problem.
In my opinion it is a problem with the classic translation editor (which as far as I heard will be deprecated in future) and switching around with the editors in the different languages.
I would suggest that you try the Advanced Translation Editor, only edit the german language and translate only in the provided popup fields and do not open the translated post in an editor.
WPML provides good support also for Enfold and if you have problems/questions in using WPML.As a first step I would suggest that you open a ticket at WPML – and describe the problem and provide your video.
In case you do not find a solution to your problem with the regular support staff please come back with the link to your support thread there and we will contact the compatibility team directly to find a solution for your problem.
Best regards,
GünterHi,
Please see line:
let item = $(<code>#top .av-subnav-menu a[href*=\'${entry}\']
);In my opinion
${entry}
should be replaced with:
" + entry + "
Best regards,
GünterHi,
You need to query the image title in your function:
$title = get_the_title( $id );
And i would not rebuild the html code in this filter but just insert the title attribute. My final solution would be:
function html_insert_image( $html, $id, $caption, $title, $align, $url, $size, $alt ) { $html = str_replace( '<img ', '<img title="' . esc_attr( get_the_title( $id ) ) . '" ' , $html ); return $html; } add_filter( 'image_send_to_editor', 'html_insert_image', 10, 8 );
Best regards,
GünterHi,
Glad to hear it is working for you now.
Are you talking about bbPress on your site?
bbPress has own post type forum, topic, reply in wp_posts database.
Check for a plugin setting to limit time of posts in past – just an idea.
Best regards,
GünterHi,
Good catch with the filter.
I think we should add the filter to core that we add the title to new added images (with an option in SEO tab to disable this).
But for existing images in already existing pages (where only the img tag html exists and probably no reference to the attachment id ) it will be difficult.
Best regards,
Günter -
AuthorPosts