@EVAL return $modx->runSnippet('Ditto', array('parents'=>32, 'tpl'=>'box-testimonial-Tpl', 'orderBy'=>'pagetitle DESC'));
[[Ditto? &startID=`32` &tpl=`box-testimonial-Tpl` &orderBy=`pagetitle DESC`]]
Office==122||Broadband Jargon==117||Special Offer==114||Mobile Broadband ==109||BIG Giveaway==106||Solo PDF's==105||Sharer PDF's==104||Broadband PDF's==103||Maintenance Docs==102||VPN FAQ's ==93||SHDS Docs==90||Flow Docs==89||Install==66||Versatility Docs==65||Mobile- Ts & Cs==64||Recruitment==63||Guide==62||nclusive PDF's==61|Plus PDF's==60||Reseller==59||Business==58||Brochure==57||Infinity Docs==56||Clear Documents==55||Inclusive PDFs==54||This a list of the correct pages that appear in the TV dropdown (in spite of the error popup).
@EVAL return("Office==122||Broadband Jargon==117||Special Offer==114||Mobile Broadband ==109||BIG Giveaway==106||Solo PDF's==105||Sharer PDF's==104||Broadband PDF's==103||Maintenance Docs==102||VPN FAQ's ==93||SHDS Docs==90||Flow Docs==89");
OK, finally getting somewhere.
Is there an error message in PHP error log?
« MODX Parse Error » MODX encountered the following error while attempting to parse the requested resource: « PHP Parse Error » PHP error debug ErrorType[num] : NOTICE[8] File : C:\xampp\htdocs\---\assets\snippets\ditto\snippet.ditto.php Line : 1084 Source : Snippet Basic info REQUEST_URI : /---/manager/index.php?a=27&id=265 Manager action : 27 - Editing resource Referer : --- User Agent : --- IP : ::1 Benchmarks MySQL : 0.1880 s (11 Requests) PHP : 0.5780 s Total : 0.7660 s Memory : 2.8069915771484 mb Backtrace 1 include_once() manager/index.php on line 301 2 renderFormElement() manager/actions/mutate_content.dynamic.php on line 814 3 ProcessTVCommand() manager/includes/tmplvars.inc.php on line 47 4 eval() manager/includes/tmplvars.commands.inc.php on line 64 5 DocumentParser->runSnippet() manager/includes/tmplvars.commands.inc.php(64) : eval()'d code on line 1 6 DocumentParser->evalSnippet() manager/includes/document.parser.class.inc.php on line 2400
Fixed here: https://github.com/Jako/evolution/commit/ac37544df81727be97e9ae25904751f24c089053
« MODX Parse Error » MODX encountered the following error while attempting to parse the requested resource: « PHP Parse Error » PHP error debug ErrorType[num] : NOTICE[8] File : C:\xampp\htdocs\---\assets\snippets\ditto\classes\phx.parser.class.inc.php Line : 19 Source : Snippet Basic info REQUEST_URI : /---/manager/index.php?a=27&id=265 Manager action : 27 - Editing resource Referer : http://localhost/---/manager/index.php?a=1&f=tree User Agent : --- IP : ::1 Benchmarks MySQL : 0.0516 s (23 Requests) PHP : 0.1216 s Total : 0.1732 s Memory : 2.8069915771484 mb Backtrace 1 include_once() manager/index.php on line 301 2 renderFormElement() manager/actions/mutate_content.dynamic.php on line 814 3 ProcessTVCommand() manager/includes/tmplvars.inc.php on line 94 4 eval() manager/includes/tmplvars.commands.inc.php on line 64 5 DocumentParser->runSnippet() manager/includes/tmplvars.commands.inc.php(64) : eval()'d code on line 1 6 DocumentParser->evalSnippet() manager/includes/document.parser.class.inc.php on line 2400
« MODX Parse Error » MODX encountered the following error while attempting to parse the requested resource: « PHP Parse Error » PHP error debug ErrorType[num] : NOTICE[8] File : C:\xampp\htdocs\---\manager\includes\document.parser.class.inc.php Line : 2994 Source : Snippet Basic info REQUEST_URI : /---/manager/index.php?a=27&id=265 Manager action : 27 - Editing resource Referer : http://localhost/---/manager/index.php?a=1&f=tree User Agent : IP : ::1 Benchmarks MySQL : 0.0674 s (23 Requests) PHP : 0.1010 s Total : 0.1684 s Memory : 2.8064651489258 mb Backtrace 1 include_once() manager/index.php on line 301 2 renderFormElement() manager/actions/mutate_content.dynamic.php on line 814 3 ProcessTVCommand() manager/includes/tmplvars.inc.php on line 94 4 eval() manager/includes/tmplvars.commands.inc.php on line 64 5 DocumentParser->runSnippet() manager/includes/tmplvars.commands.inc.php(64) : eval()'d code on line 1 6 DocumentParser->evalSnippet() manager/includes/document.parser.class.inc.php on line 2400