We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 35094
    • 25 Posts
    Hi!

    I hope this is simple- is it possible to have a line of code inside a chunk that will simply redirect visitor to a different URL?

    (I want to use Personalize so if user meets one condition he is served one chunk, if not then he is redirected to another page.)

    Thanks!
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Since Pesonalize allows the use of TVs, you could have a TV with @EVAL $modx->sendRedirect(...) for the noTV
        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