2
Solved;
Problems twofold:
changed location from $ROOT/index.php to modules/publisher/index.php, since it is publisher O/P I want to postfilter (add pupup definitions)
cut and past problems \n became n in the code:
return "\n"; ?>\n" . $tpl_source;
now, it works. Such a noob:)