This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
documentation:create_first_plugin [2015/06/11 11:21] mooeditor [How to using comment system] |
documentation:create_first_plugin [2015/06/11 11:23] mooeditor [How to using report system] |
||
---|---|---|---|
Line 1935: | Line 1935: | ||
View note: | View note: | ||
- | view.tcp | + | <file php view.tcp> |
+ | |||
+ | //Report system | ||
+ | <?=$this->Html->link( | ||
+ | __d('Note', 'Report Note'), array( | ||
+ | 'controller' => 'reports', | ||
+ | 'action' => 'ajax_create', | ||
+ | 'plugin' => '', | ||
+ | $note['Note']['moo_type'], | ||
+ | $note['Note']['id'] | ||
+ | ), array('data-target'=>'#themeModal','class'=>'button button-action topButton button-mobi-top','data-toggle'=>'modal') | ||
+ | ); | ||
+ | // | ||
+ | |||
+ | </file> | ||
====== Plugin Development Suggestions ====== | ====== Plugin Development Suggestions ====== |