We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 87
    • 51 Posts
    Ok so I’m trying to make a list of products, they are plants so they have the common name and botonical name. I’m using the A-Z listing snippet and i’m using an Active state with my wayfinder. My idea was to use the products page to use the common name and then use another page to use the botonical name, but that would screw up my CSS. Then I thought about using TV’s but I’m not sure how to pull it off.
    I was thinking of each page under the A-Z listing, to use the Name: as for common name and long name: as botonical name. Then have A-Z show the Common name, and have a radial button to switch it to Botonical name. By pressing the button have a TV switch the call on A-Z snipped to calling the long name.

    Is this possible? and how do I pull it off? Please give me as much detail as possible. This website has been a slow process for me!

    Cliffnotes: how do I switch a snippet call using a TV?
      • 23491 ☆ A M B ☆
      • 1,056 Posts
      Quote from: 2wistd at Sep 12, 2007, 11:09 PM

      Cliffnotes: how do I switch a snippet call using a TV?

      In the MODx Wiki there is an example of swapping Chunks based on TV. Technically, you could place your snippet calls within the chunks, and voila!

      Check it here: http://wiki.modxcms.com/index.php/Create_TV-Based_Chunks
        Mike Reid - www.pixelchutes.com
        MODx Ambassador / Contributor
        [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
        ________________________________
        Where every pixel matters.
        • 87
        • 51 Posts
        Ok so i’ve been trying to use the TV Based chunks.
        Its not working. Nothing shows up on my site and yes, I have activated the TV for the Template.
        I’ve spent the last two hours trying to figure out what was wrong, but I copied everything exactly as said. i tried to cut it down to the basics so i can see what is going on...no luck! Anything going on that would cause it just to not show up?
          • 5091
          • 332 Posts
          chinesedream Reply #4, 19 years ago
          Hi I remember I tried the TV based chunks maybe last month and was getting a ’nothing’ too. Would love to hear someone confirms it works
            • 7231
            • 4,205 Posts
            as for the listing, you may have a better result if you were to modify the snippet and make the title/longtitle option be dynamic. Just an idea but it might be less trouble than to use the TV method.
              [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

              Something is happening here, but you don't know what it is.
              Do you, Mr. Jones? - [bob dylan]
              • 87
              • 51 Posts
              Good idea, any idea on how to do this?