Hi..
Yes it is very strange indeed...
I call the snippet like this:
[[includeTemplate? &tpl=`en/main.html`]]
The snippet have this code (already tried like BobRay suggests):
<?php
if ( !isset($tpl) || $tpl== "" ) return "Missing Template file!";
$tpl = $base_path .'data/templates/'.$tpl;
ob_start();
include($tpl);
return ob_get_clean();
The main directory named "data" is located in the root directory and I’m using last MAMP version.
I have tried almost everything and really can not understand. Is really strange and as i do not have a lot of experience with MODx, i’m a little frustrated...
Didn’t start the project yet because I have until February so I’m trying to solve this... If I can not solve this in some time I must stick with 2.0.4 version.
???