You are not logged in.
Pages: 1
I want to create a custom action that opens printable version of some data for my view. How do I open the page that doesn't include admin header and footer in it?
Offline
You can change the layout of the admin in the same way you do the front end templates by setting $bigtree["layout"] to a different type.
e.g. If you wanted something blank would create blank.php in /custom/admin/layouts/ with this code:
<?php
echo $bigtree["content"];
Then in your custom action file you'd set $bigtree["layout"] = "blank";
Offline
Thank you so much, timbuckingham. How do I open that page in the new tab?
Offline
You can’t open actions in a new tab by default. You would need to create a custom view entirely to do that.
Offline
Pages: 1