Forums / Developer / CLEAN Modul - Template Output ???
Daniel Scheiner
Tuesday 20 February 2007 10:57:22 am
Hi!
I need a completely clean output without any:
<!-- START: including template: extension/supplynet/design/standard/templates/x/y.tpl (design:x/y.tpl) --> <p class="small">extension/supplynet/design/standard/templates/x/y.tpl</p><br/>
or any of that.
What do I have to put inside my module-view or my template to simply generate output like one would get from simple "echo" commands like in a php-script?
I just need the output like the result of:
echo $variable."\n"; echo $varbaile2."\n";
Thanks!!!
kracker (the)
Tuesday 20 February 2007 11:55:27 am
This is supported.
Inside your module's 'action' php file, add a line like this to disable the loading of a pagelayout template.
$Result['pagelayout'] = false;
Cheers,//kracker
Home Movies - Duane's Practice
Member since: 2001.07.13 || http://ezpedia.se7enx.com/
Wednesday 21 February 2007 3:59:49 am
yep i already put that piece of code in my modul-view.however the output i posted still comes out either way.
Kristof Coomans
Wednesday 21 February 2007 4:08:47 am
Hi Daniel
Take a look at http://ezpedia.org/wiki/en/ez/debug_templatesettings
independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org