| foxhound |
|
|---|---|
|
Working on a new plugin, pretty simple probably but its actually the first one I ever got to work. :)
<?php
/* ====================
[BEGIN_COT_EXT]
Hooks=standalone
[END_COT_EXT]
==================== */
/**
* Contact Plugin for Cotonti CMF
*
* @package contact
* @version 2.1.0
* @author Cotonti Team
* @copyright (c) Cotonti Team 2008-2013
* @license BSD
*/
defined('COT_CODE') or die('Wrong URL');
$tplfile = cot_import('tpl', 'G', 'TXT');
$mskin = cot_tplfile(array('sidepanel', $tplfile), 'plug');
$t = new XTemplate($mskin);
?>
The sidepanel is created in my footer with the following code:
<div id="extruderRight" class="{title:'User Control Panel', url:'index.php?e=sidepanel'}"></div>
Yes, I am using "redirect back on login" and I made 100% sure I am not actually on the plugin page.
I am trying to make a plugin for this sitepanel: http://pupunzi.com/#mb.components/mb.extruder/extruder.htm <img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
|