I am trying how figure out how to send a user agent to other content using the trusty if or else statement, the only thing which occurs to me is to use a redirect snippet, have seen a few posts on this subject and have seen the extra Mobile Template Switcher for EVO, but I am on revo and the other solutions are not quite what I am looking for.
if this riderect here
else redirect there
the problem is that I am not sure I can do this, I have seen opengeek’s direction on how to do a redirect
$modx->sendRedirect($modx->makeUrl($id, '', '', 'full'));
and I know I can make the snippet and then call it [[redirect?id=`2`]] or something to that effect to send to another container, but I need to place it directly within the larger mobile detect script, can I call a snippet within a snippet like I would a chunk?