Change texts with the add-on

Home Forums Guestbook Add-On Change texts with the add-on

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9481
    Beat Taeuber
    Participant

    I am trying to change the texts on the form. This also works as long as there are no ‘ in the text. As soon as there is a ‘ in the text, the whole field is ignored.
    I cannot enter the old text by entering ‘, I have to enter e.g.: Your E-mail address won’t be published. But even so the field is ignored.
    Thanks for your help.
    Beat

    #9504
    Marcel Pol
    Keymaster

    Hello Beat,
    Sorry for the slow reply.

    Yes, I understand this is somewhat confusing. It is to me anyway :) The issue is that output is supposed to be escaped so JavaScript or other nastyness doesn’t become part of the page content.

    I just did the following:
    I removed the text in the settings. I saved those settings. The textarea was filled again with the default text and I saved that. The textarea now had a won't in the text.
    I went to the string settings and cut and pasted that same content. Then I saved the string settings.
    This resulted in a correct replacement of the string.
    Issue was when saving the strings again (for example by adding a new one). Now the string had an escaped text with won\'t. Now the text replacement did not work.

    I will look into trying to have both settings act and work the same.

    #9505
    Marcel Pol
    Keymaster

    Hello Beat,

    I sent you an email with a change regarding this issue.
    Could you confirm if it works for you?

    Regards,
    Marcel

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