We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39115
    • 15 Posts
    What is the difference between these placeholders ? (In EVO)
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      That is the obsolete method of getting an "Edit" button for the old QuickEdit front-end editing plugin. It's not used any more. See the QM+ documentation for how to use HTML comment tags to generate "Edit" buttons in front-end content.

      On further examination of the docs, you can configure QM+ to use the [*#...*] syntax to edit any resource fields or TVs - [*#longtitle*] or [*#introtext*] for example.

      Purpose:
      Edit any template variable.

      Editable default MODx fields:
      pagetitle, longtitle, description, content, menutitle, introtext

      How it works:
      - Add anywhere in to your page: [*#tvName*], notice the "#"
      OR
      - Add anywhere in to your page: <!-- "Template variable button CSS class" "tvName" -->
      - This will create a template variable button inside your page when logged in manager
      - For regular visitors it will be shown as a regular HTML comment visible only in the HTML source code

      Basic example:
      - Add in to your template [*#tvName*]
      - Creates button to edit tvName template variable (and outputs the template variable)

      Advanced example:
      - Add in to your template: <!-- qm-tv tvName -->
      - Creates button to edit tvName template variable
      [ed. note: sottwell last edited this post 13 years, 6 months ago.]
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 39115
        • 15 Posts
        Thanks;)