Search found 5 matches
- Wed Feb 06, 2008 2:23 pm
- Forum: Developers Discussion
- Topic: Showing Template
- Replies: 7
- Views: 2320
Re: Showing Template
Anyone??
- Mon Feb 04, 2008 9:55 pm
- Forum: Developers Discussion
- Topic: Showing Template
- Replies: 7
- Views: 2320
Re: Showing Template
Code: Select all
$ExportLink = $this->CreateLink($id, 'ExportExcel', $returnid, 'here', array('showtemplate' => 'false'));
If so, that didn't work for me.
- Mon Feb 04, 2008 9:37 pm
- Forum: Developers Discussion
- Topic: Showing Template
- Replies: 7
- Views: 2320
Re: Showing Template
Thanks. I looked that up and I found the ContentPostRender() method to control content posting, however, this seems to only be valid for the frontend? My action is an admin action. How can I control admin content?
- Mon Feb 04, 2008 2:54 pm
- Forum: Developers Discussion
- Topic: Showing Template
- Replies: 7
- Views: 2320
Re: Showing Template
if (!isset($gCms)) exit; # Assign smarty variable by reference for easier use and cleaner code $Smarty =& $this->smarty; # Check appropriate user permissions if (!$this->CheckPermission($this->Lang('PermissionExport'))) header('Location: http://' . $_SERVER['SERVER_NAME'] . '/admin'); # Generat...
- Fri Feb 01, 2008 9:40 pm
- Forum: Developers Discussion
- Topic: Showing Template
- Replies: 7
- Views: 2320
Showing Template
I have an action in my module (action.ExportExcel.php) to export a list of contacts from DB to excel...as the name implies. The problem is this: The excel sheet gets exported (downloaded) with the entire template of the template. How do I make CMSMS not display the template for this specific admin a...