We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • Quote from: rthrash at Dec 02, 2005, 09:22 AM

    I figured it might spawn a few ideas... Replace the check with something else and run with it. Makes for a more building-block type of possibilities, wouldn’t you say... wink

    At the very least, it will simplify the TVs, since all the coding will be done in the snippet. All the TV will do is put the placeholder where you want it! And the only reason you’d need a TV is if you want to be able to edit which placeholder gets put where from the Document editing screen. If you’re more comfortable working with chunks use them, or if you have a very simple setup and don’t need all the options, just put the placeholders directly into your document! Nothing will show up until the snippet checks everything out and generates the appropriate placeholder! Or...save all of your shipping and payment modules in folders in the /assets/snippets/shopx folder, and have the checkout snippet read the directories and generate the options based on what module files it finds! Oh, yeah! I think I’m in love!
      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
      • 4095
      • 372 Posts
      Just another usage for the snippet, you can have menu items / pages with a personalised name.

      Just chuck the following in the title field of a page to have it show their name in the menu.

      [[Personalize? &class=`welcome`]]


        [img]http://www.emanz.ac.nz/assets/images/logo/emanz-icon_16x16.gif[/img] Emergency Management Academy of New Zealand [br] http://www.emanz.ac.nz[br][br]MODx Sandbox Login: sandbox Password: castle [br]
        Admin Sandbox Login: sandbox Password: castle