How to disable template output in admin

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Locked
pjanda79
New Member
New Member
Posts: 6
Joined: Fri May 15, 2015 6:29 am

How to disable template output in admin

Post by pjanda79 »

Hello,

I need to create CSV output in admin of my module... Is there way how to disable admin-template output before my function for generating csv is started? I need clear output - no header, menu etc. of admin.

Thank you very much.
Jos
Support Guru
Support Guru
Posts: 4017
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: How to disable template output in admin

Post by Jos »

just add &showtemplate=false to the url
pjanda79
New Member
New Member
Posts: 6
Joined: Fri May 15, 2015 6:29 am

Re: How to disable template output in admin

Post by pjanda79 »

Yes! Thank you very much!
Locked

Return to “Developers Discussion”