Tagged: 

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #972341

    Hi,

    after Enfold 4.4.1 upgrade, all av_button labels with an apostrophe (so we use delimiters double quote) has been changed like this :

    Before :
    [av_button label="Bilan : 4 ans de MOOC à l'IMT" link='manually,https://www.imt.fr/bilan-mooc/' link_target='' size='x-large' position='center' icon_select='no' icon='ue800' font='entypo-fontello' color='theme-color' custom_bg='#444444' custom_font='#ffffff' admin_preview_bg='' av_uid='av-222kpxz']

    After :
    [av_button label='Bilan : 4 ans de MOOC à l'IMT' link='manually,https://www.imt.fr/bilan-mooc/' link_target='' size='x-large' position='center' icon_select='no' icon='ue800' font='entypo-fontello' color='theme-color' custom_bg='#444444' custom_font='#ffffff' admin_preview_bg='' av_uid='av-222kpxz']

    Of course, the buttons are displayed with a label “Click Me” and we have to, manually, changed all these buttons to use double quote for delimiters for these labels… Hard work.

    Could you tell me more about this problem ?

    Best regards,
    Olivier.

    • This topic was modified 6 years, 6 months ago by Oli.
    #972840

    Hey Oli,

    Maybe, it is easier to use the html entity instead of changing quotes?
    https://www.toptal.com/designers/htmlarrows/punctuation/apostrophe/

    Best regards,
    Victoria

    #972851

    Hello Victoria,

    it’s not easier because ‘ is one character on our keyboard and ' is mush longer to type ;)

    And even if I use ' when I go back on the editor, it’s changed to ‘ character (in the text tab) so on the next save, the label become “Click me” …
    With double quotes as delimiters, no problem.

    Best reards,

    #973350

    Hi Oli,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #973368

    Hi Victoria,

    OK, I send you credentials in private part.

    Best regards,
    Olivier.

    #973913

    Hi Olivier,

    Do you have the page where it is broken?

    Best regards,
    Victoria

    #974181

    Hello,

    yes, but the site is on line, the button is OK : URL : https://www.imt.fr/imt/presentation/ (button on bottom of the page “Les écoles de l’IMT”)
    But when you put :
    – a single quote, it’s broken ;
    – an ', it’s rewritten in a single quote, and it’s broken at the next save of the page

    #974956

    Hi,

    Quotes cant work on the shortcodes output we are afraid.

    Best regards,
    Basilis

    #975214

    Hi Basilis,

    it works when we use double-quotes as delimiters. It’s not the point, I just ask about an automatic change, after 4.4.1 upgrade (it could be related), from double-quotes to single quote.
    Why it happens because we had all our buttons’ labels broken and hard work to fix it ?

    Best regards,
    Olivier.

    • This reply was modified 6 years, 6 months ago by Oli.
    #975574

    Hi,

    Thanks for the update.

    This is an old issue with the theme elements and we haven’t been able to fixed it. Please install the following plugin then use this text or placeholder in place of the single quotes.

    ###34###
    

    // https://github.com/KriesiMedia/enfold-library/blob/master/integration%20plugins/Enfold/Special%20Character%20Translation/avia-special-characters_1_0_0.zip

    Best regards,
    Ismael

    #975819

    Hi Ismael,

    after installation of this plugin, ###34### is new delimiter for the label value ? Could we use single quote too or only this new delimiter ?

    And nobody answered my first question : why double-quotes had been replaced by single after 4.4.1 upgrade ?

    Best regards,
    Olivier.

    #976102

    Hi,

    That is the placeholder for the single quotes. You can add more placeholders by editing the plugin file directly. These are the available placeholders…

    $this->translate = array(
    						'###lt###'		=> '<',
    						'###gt###'		=> '>',
    						'###amp###'		=> '&',
    						'###91###'		=> '[',
    						'###93###'		=> ']',
    						'###quot###'	=> '"',
    						'###34###'		=> "'"
    			);
    

    And nobody answered my first question : why double-quotes had been replaced by single after 4.4.1 upgrade ?

    I’m not really sure if this has been replaced so I have no idea why. I’m sorry.

    Best regards,
    Ismael

    #976208

    Hi Ismael,

    OK, thanks a lot.

    Have a nice day.
    Oli.

    #976221

    Hi Oli,

    Glad Ismael helped you to get it working.

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.