Forum Replies Created
-
AuthorPosts
-
February 16, 2022 at 4:32 pm in reply to: Very big Problem with Enfold / Advanced Layout Builder #1340922
By the way
When I do the same like in the last post without the Advanced Layout-Builder, it works fine, I always can save the text with changes again, also with smilies.
So, for me this is an Advanced Layout-Builder bug.
Best regards
MikeFebruary 16, 2022 at 4:02 pm in reply to: Very big Problem with Enfold / Advanced Layout Builder #1340919It makes no difference if we activate or deactivate this option.
I tested it again.
Like that I could reproduce the problem:
- Create a portfolio entry
- Insert a text-box in the portfolio entry
- Switch to “Text” tab
- Insert a text with smilies (you can copy my text from here: https://support.yourchoice.ch/upload/text_with_smilies.txt)
- Save the text-box
- Save the portfolio entry
Like that, all is ok, the text with the smilies is there.
But when you edit the text again and save the portfolio entry, the change will be lost every time, you are not able to change the text anymore.
If you switch back to “HTML” tab at the first time, the saving will also not work at the first time.
February 16, 2022 at 10:34 am in reply to: Very big Problem with Enfold / Advanced Layout Builder #1340890Hi Rikard
Just another idea how you can reproduce the problem.
Create a portfolio entry with a text box and an image for example.
There enter text with smileys. Use the smileys we also used:😃
;
😊
;
😉
;
😕
;Then save the text box and the portfolio entry.
Then reopen the portfolio entry, edit the text box, save the text box and the portfolio entry.
And here comes the problem. After the first save with smileys it was never possible to save the portfolio entry again. The changes alwas were undone after saving.
Best regards
MikeFebruary 16, 2022 at 8:10 am in reply to: Very big Problem with Enfold / Advanced Layout Builder #1340858Hi Rikard
I don’t know, what is the problem, but you said, that the smileys are a problem and that we should use shortcodes for smilies, see this posts here:So, let me know, if this is a bug of Enfold that we have problems with smileys…
Best regards
MikeFebruary 15, 2022 at 5:21 pm in reply to: Very big Problem with Enfold / Advanced Layout Builder #1340752Hi Ismael
We looked into this plugin emoji-shortcode. It is not very cool, because there are not all smilies and we do not see the Dec or Hex code of the smiley.
Can you recommend another plugin which is better?
But either way, this problem with the emoji’s is a bug in Enfold, isn’t it?
Best regards.
MikeFebruary 14, 2022 at 6:56 pm in reply to: Very big Problem with Enfold / Advanced Layout Builder #1340567Hi Rikard
In this portfolio entry we used the smiley with the code😃
;
Also in another portfolio entry we have the problem that we cannot save it again. There we have smileys with the following codes:
😊
;
😉
;
😕
;
You can look into this post, see private content section.
Best regards.
Mike-
This reply was modified 3 years, 7 months ago by
YourChoice Informatik GmbH.
February 14, 2022 at 12:16 pm in reply to: Very big Problem with Enfold / Advanced Layout Builder #1340467Hi Rikard
First, i go for example to this page and search for the smiley I need:
https://www.w3schools.com/charsets/ref_emoji.asp
Then, I go into the portfolio entry (with Advanced Layout Builder activated), open the textbox, switch to the “Text” tab and insert the code, i.e.
<p>This is a test 😛</p>
After that, I switch back to the “HTML” tab, save the textbox and then save the portfolio entry.
Best regards
MikeHI Rikard
Yes, we can continue in the other thread.
So you can close this issue.
Best regards
MikeHi Yigit
As we have now noticed, there are problems with smilies/emojis:Best regards
MikeFebruary 12, 2022 at 10:39 am in reply to: Very big Problem with Enfold / Advanced Layout Builder #1340253HI Rikard
Thanks very much for your analysis of the problem.
I edited the portfolio entry, removed all smilies and it worked!
But why it is not possible to use smilies?
We already had created another ticktet for that and there Yigit wrote, that this should be possible:But it seems like you can save the content with smilies/emojis exactly once and then never again.
It’s probably an Enfold bug, isn’t it?
Best regards
MikeFebruary 11, 2022 at 12:35 pm in reply to: Very big Problem with Enfold / Advanced Layout Builder #1340149Hi Rikard
Ok, we added the following code to our functions.php of the child theme://set builder mode to debug add_action('avia_builder_mode', "builder_set_debug"); function builder_set_debug() { return "debug"; }
Thanks very much.
Best regards
MikeHI Rikard
Oh shit… this I didn’t see… I checked the CSS with http://csslint.net/ but there this didn’t display it as an error ;-(
Thanks very much.
You can close this issue.
Best regards
MikeHi Ismael
You are right, in the browser inspector it works… no idea, why it does not work with quick css.
I added it like this:#top .iconbox.av-no-box .iconbox_icon { width: 180px !important; height: 180px !important; line-height: 180px !important; font-size: 90px !important; }
You can login and look into it, perhaps you find something?
Hi Ismael
Ok, cool, thanks for your help. Now it’s clear ;-)
You can close this issue.
Best regards
MikeHi Ismael
Thanks for the code.
But this changes nothing.
I changed the font-size to 80px and it was the same size. I also tryed with !important, but nothing changed.
Best regards
MikeHi Rikard
No problem, We understand, that functionality has more priority as new demos.
t’s also more valuable for us to get new functionality than new demos!
Only some customers of us sometimes ask for new demos ;-)
Thanks for the SVG Dividers option. We didn’t know it, and we will ttry it out!
You can close this issue.
Thanks very much.
Best regards
MikeHi Ismael
I had overlooked that you wrote that no attribute is mandatory, sorry ;-)
Yes, I already found this PHP function and we will use it…
Thanks very much, you can close this issue.
Best regards
MikeHi Ismael
As we wrote further up, we deactivated all plugins and there was still the same problem.
But yes, with this snippet it is fixed, so you can close the issue.
Thanks very much.
Best regards
MikeFebruary 1, 2022 at 9:00 am in reply to: Sliders/Galeries duplicated without doing anything #1338159Hi Ismael
Yes we did and the new site is working fine.
But we would have liked to know why the page suddenly stopped working without us having changed anything.
It can’t be that we have to regularly check all the websites we’ve created with Enfold to see if they’re still working ;-)
But you can’t seem to give an explanation…
You can then close the task and we hope that these problems will not occur too often.
Thank you very much.Best regards
MikeHi Ismael
Yeah, with your code, also the other administrator user can use the ALB for creating or editing events with The Events Calendar.
But my question is, WHY this happens… what you mean with “when the other use is active”? I only use one or the other user and no one else uses this two users…
Thanks vey much.
Best regards
MikeHi Ismael
Thanks very much. So we will also generate an ID like this for the generated shortcodes. Why you do that with Javascript and noth with PHP?
And what is about my second question? Can we see somewhere, which attributes of a shortcode are mandatory and which are not? Because with new Enfold versions there come always new attributes, but we do not know, if they are needed/mandatory or not…
Thanks very much
Best regards
MikeJanuary 31, 2022 at 7:41 pm in reply to: Sliders/Galeries duplicated without doing anything #1338080Hi Ismael
Ok, we deleted the current page, created another page with same title and applied the “Innenausbau Temp” template to it.
This works, the sliders work now again.
So far so good.
But what we really do not understand is, WHY the page was broken without doing anything…
We didn’t modify this page for months or even years…
The only thing we do sometimes is to update WordPress, Enfold or plugins.
How can it be that a page is broken without doing anything on it and after recreating it, it works fine again??? This we really do not understand and we would like to have an explination about that to understand it…
Thanks very much.
Best regards
MikeHI Ismael
I found another code snippet which seams to work and returns for every image an ID:$attachment_id = 0; $dir = wp_upload_dir(); if ( false !== strpos( $url, $dir['baseurl'] . '/' ) ) { // Is URL in uploads directory? $file = basename( $url ); $query_args = array( 'post_type' => 'attachment', 'post_status' => 'inherit', 'fields' => 'ids', 'meta_query' => array( array( 'value' => $file, 'compare' => 'LIKE', 'key' => '_wp_attachment_metadata', ), ) ); $query = new WP_Query( $query_args ); if ( $query->have_posts() ) { foreach ( $query->posts as $post_id ) { $meta = wp_get_attachment_metadata( $post_id ); $original_file = basename( $meta['file'] ); $cropped_image_files = wp_list_pluck( $meta['sizes'], 'file' ); if ( $original_file === $file || in_array( $file, $cropped_image_files ) ) { $attachment_id = $post_id; break; } } } } return $attachment_id;
Now I updated again to Enfod 4.8.9 and it seems to work! Great, thank you very much!
But now, I have some questions:
- Where can I see the mandatory attributes for your shortcodes?
- Can I omit empty attributes?
- I generated the av_team_member with Enfold 4.8.9 and I saw a few new attributes, do I have to add them to my generator code?
- What is with the attribute av_uid? Can I leave this blank? Or do I have to generate a random string?
Thanks very much.
Best regards
Mike-
This reply was modified 3 years, 8 months ago by
YourChoice Informatik GmbH.
Hi Ismael
I found a code snippet and tested to get the ID of the attachement:global $wpdb; $prefix = $wpdb->prefix; $attachment = $wpdb->get_col($wpdb->prepare("SELECT ID FROM " . $prefix . "posts" . " WHERE guid='" . $image_url . "';")); return $attachment[0];
Unfortunately, it does not return an id for all images… with some images it returns nothing… do you have another method to get that ID?
Is the attribute attachement mandatory? Or what happens, when we use it empty?Hi Ismael
Just another question.
Would it be also better, when we set av_uid dynamically? And if yes, what would you propose how to do this?
Best regards
MikeHi Ismael
Okey, but this code is also in the gcst_members_shortcode_content and it worked with Enfold 4.8.8.1.
But I can test if it works with the dynamic ID of the image… Do you know, how I can get this ID with PHP code?
Thanks very much.
Best regards
MikeJanuary 28, 2022 at 12:30 pm in reply to: Sliders/Galeries duplicated without doing anything #1337702Hi Ismael
If I should activate the debug mode, please say, what I have to do ;-)
Best regards
MikeJanuary 28, 2022 at 12:30 pm in reply to: Sliders/Galeries duplicated without doing anything #1337700Hi Ismael
You are still editing Innenausbau and Test Page.
But if you want, I can activate the debug mode, because it would be very interesting, why it does not work on this page… we did not change anything there a long time…
Best regards
MikeHi Guenni007
Yes I did it. Also with the new code snippet we have the same problem, one administrator sees the ALB stuff, the other one not… very strange this…
Cheers
MikeHi Guenni007
Thanks for your response. With your snippet it is the same as with my snippet.
With one administrator user it works, with the other administrator user it does not work ;-(
But thanks anyway.
Best regards
Mike -
AuthorPosts