This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next 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/15 04:55] mooeditor [Creating Your mooSocial First Plugin] |
||
---|---|---|---|
Line 2: | Line 2: | ||
//NOTE: We’re currently working on documenting these sections. We believe the information here is accurate, however be aware we are also still working on this chapter. Additional information will be provided as we go which should make this chapter more solid.// | //NOTE: We’re currently working on documenting these sections. We believe the information here is accurate, however be aware we are also still working on this chapter. Additional information will be provided as we go which should make this chapter more solid.// | ||
+ | |||
+ | Sample Plugin: [[https://www.moosocial.com//wiki/lib/plugins/ckgedit/fckeditor/userfiles/file/moo-note-1.0.zip|https://www.moosocial.com//wiki/lib/plugins/ckgedit/fckeditor/userfiles/file/moo-note-1.0.zip]] | ||
+ | |||
====== Welcome to the mooSocial guides ====== | ====== Welcome to the mooSocial guides ====== | ||
Line 1935: | Line 1938: | ||
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 ====== |