We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39024
    • 2 Posts
    Good evening!

    I am writing because I am currently developing a site for a local salon. Running Evolution 1.0.5. As part of the development, there will be a page in which the stylists' will have some information displayed about them. To avoid page clutter, the gentleman I am developing the site with suggested a show/hide button (see "more info" and "less info" on YouTube) for displaying bios. I know how to accomplish this with Scriptaculous, but I feel (meaning I know) that the end user will not be able to handle the updates to this page if that is implemented.

    I guess what I am asking is, is there a MODx plugin available in which a manager user can create a "section" of a page with a title (the stylist's name), content (their biography), and a photograph?

    Thank you for your help.
      • 14214
      • 299 Posts
      There is a addon for FAQ's that I have implemented on one of my sites. It is not too difficult and I even trained our office admin how to use it.

      It's called EZfaq and here is a live example: http://www.sensidyne.com/contact-us/sensidyne-contacts.php

      But with that said, I would imagine you could create a class in CSS that displays:none after a certain limit or use [[DynamicDescription?&maxWordCount=`50`]].
        • 34084 ☆ A M B ☆
        • 756 Posts
        In short without knowing 100% of the details yes, the simplest method would be to create a new template just for the Stylists pages. Then you can simply create new template variable for the name, biography, and photograph. Depending on the needs you might be able to use the existing content input fields like the description and introtext thus only creating the TV (template variable) for the photograph.

        cheers
          Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
          Visit CharlesMx.com for latest news and status updates.
          • 39024
          • 2 Posts
          Thank you both for your help. I will look into those solutions.
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            I use resources for each person, then use Ditto to set up the list with the help of some JQuery to open/close the bio/photo.

            With Ditto, I can have the chunk tpl have the editing comment to trigger a QuickManager edit button for each person right on the main listing page.

            <!-- qm-edit [+id+] 'Edit Entry' -->


              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