Skip to content
General Revolution Evolution Add-ons International
Login | Register | MODX.com
MODX Open Source Content Management System, Framework, Platform and More.
Find a Partner | Hosts + SaaS | Jobs | Donate
  • RegisterSign Up with the MODX Community
  • LoginUse Your MODX.com Account
  • MODX Community Forums
  • Evolution
  • Evo Release Support
  • Evolution 1.0.0
  •  
  • FANTASTIC: SNIPPET FOR CONTENT AND WEB USERS#

  • 14999
    0

    juke80 Reply #1, 9 months, 2 weeks ago

    Reply
    • Link to this post#1
    Should I make this simple snippet without calling any chunks that will handle youtube videos in my case,


    the page by placing the call to the snippet, it looks like this






    Many thanks to those who bring forward the discussion


  • 16702
    488
    - Hello World
    be KiWi, be gReen

    Last Of The Romans Reply #2, 9 months, 2 weeks ago

    Reply
    • Link to this post#2
    FOR REVO
    Quote from: juke80 at Aug 05, 2011, 05:26 AM
    Should I make this simple snippet without calling any chunks that will handle youtube videos in my case,
    the page by placing the call to the snippet, it looks like this

    Many thanks to those who bring forward the discussion


    http://modx.com/extras/package/switch

    Parameters

    &get = input parameter

    &c1, &c2, &c3 .... case 1, case 2, case 3,....

    &do1, &do2, &do3 = output parameter for matching case

    you can use unlimited input parameters c1 c2 c3 ... each c# must have output d#

    &default (optional) = default value if no matching case found

    Usage:



    raturns: three



    raturns: default value



  • 28042
    15,111
    How MODx Evo Works

    Log in to an Evo Manager username guest, password guestuser.

    sottwell Reply #3, 9 months, 2 weeks ago

    Reply
    • Link to this post#3
    That's a Revo extra. What version of MODx are you using?


  • 14999
    0

    juke80 Reply #4, 9 months, 2 weeks ago

    Reply
    • Link to this post#4
    Thank's

    I use modx evo 1.0






Actions

Login to Post

Other Support Options

To file a bug or make a feature request visit our issue tracker, or you can also purchase commercial support.

Love MODX?

If you build sites for a living with MODX or just love using it, why not give back?

Information

Posted in this thread:
juke80, lastoftheromans, sottwell

 
Back to Top

MODX Global HQ

1333 N Stemmons Fwy, Ste 110
Dallas, TX 75207
United States

+1 (469) 777-MODX (6639)

The MODX Company

  • Contact
  • Media Center
  • Careers at MODX
  • Wall of Fame
  • The MODX Blog

Sponsors

SoftLayer Firehost: Secure Cloud Hosting

Stay Connected

Read our previous email newsletters.

Twitter Facebook Google+ LinkedIn github Feeds

Privacy Policy | Terms of Service | Pixels by AKTA Web Studio© 2005-2012 MODX. All rights reserved. Trademark Policy