Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce qualtrics-feedback.js parameter & file #556

Merged
merged 1 commit into from
Jul 31, 2023

Conversation

tomschr
Copy link
Collaborator

@tomschr tomschr commented Jul 31, 2023

To make customization easier:

  • Add qualtrics-feedback.js parameter

  • Add a separate "qualtrics-feedback.js" file

  • ATM, if generate.qualtrics.div != 0 and qualtrics-feedback.js == '', we fallback to a hardcoded implementation.
    TODO: remove it once the file implementation is stable

  • If the file needs to be customized, this should be the content:

       <html xmlns="http://www.w3.org/1999/xhtml">
          <!--BEGIN QUALTRICS WEBSITE FEEDBACK SNIPPET-->
          <script type='text/javascript'><![CDATA[... add your content here ...]]></script>
          <div id='CHANGE_ID'><!--DO NOT REMOVE-CONTENTS PLACED HERE--></div>
          <!--END WEBSITE FEEDBACK SNIPPET-->
       </html>

Related to #551

@tomschr tomschr added cat-enhancement Enhancements format-html html, xhtml, html5, webhelp, jsp support styles-2022 "suse2022-ns" styles labels Jul 31, 2023
* Add qualtrics-feedback.js parameter
* Add the file "qualtrics-feedback.js".
* ATM, if generate.qualtrics.div != 0 and qualtrics-feedback.js == '', we fallback to a hardcoded
  implementation.
  TODO: remove it once the file implementation is stable
* If the file needs to be customized, this should be the content:

      <html xmlns="http://www.w3.org/1999/xhtml">
         <!--BEGIN QUALTRICS WEBSITE FEEDBACK SNIPPET-->
         <script type='text/javascript'><![CDATA[... add your content here ...]]></script>
         <div id='ZN_8qZUmklKYbBqAYe'><!--DO NOT REMOVE-CONTENTS PLACED HERE--></div>
         <!--END WEBSITE FEEDBACK SNIPPET-->
      </html>
@tomschr tomschr marked this pull request as ready for review July 31, 2023 11:35
@tomschr tomschr merged commit d064fea into main Jul 31, 2023
2 checks passed
@tomschr tomschr deleted the qualtrics-feedback.js branch July 31, 2023 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat-enhancement Enhancements format-html html, xhtml, html5, webhelp, jsp support styles-2022 "suse2022-ns" styles
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant