How to create a new plugin on this source.

63 views
Skip to first unread message

luyen...@gmail.com

unread,
Nov 27, 2015, 4:46:30 AM11/27/15
to QuickApps CMS
Dear all,

Please help to me about create a new plugin on this source.

Please give to step by step.

Thanks you very much!

Chris

unread,
Nov 27, 2015, 8:31:46 AM11/27/15
to QuickApps CMS
Hi,

QACMS plugins are created in the same way Cake's are created.
But, if you want your plugins to interact with QACMS's core and use its features you would need to read this: http://api.quickappscms.org/book/developers/plugins.html

luyen...@gmail.com

unread,
Nov 29, 2015, 9:22:14 PM11/29/15
to QuickApps CMS
Hi Chris,

Thanks you for your information.

Did you have the small example as "HelloWorld" for this?

Br,
LuyenLV

Chris

unread,
Nov 30, 2015, 5:27:19 AM11/30/15
to QuickApps CMS
Hi,

there is a "dummy/test" plugin you can use:

Le Luyen

unread,
Dec 5, 2015, 12:42:56 PM12/5/15
to QuickApps CMS
Hi Chris,

I created an example HelloWorld plugin.

I move HelloWorld folder to cms-2-0-0-beta2/vendor/quickapps/cms/plugins folder.


Performing install HelloWorld plugin.

After installing, the HelloWorld folder has copy to cms-2-0-0-beta2/plugins folder and it's not enable.

How to enable it?

The HelloWorld plugin write by me have problem, right?

Thanks you!
HelloWorld.rar

Chris

unread,
Dec 5, 2015, 2:11:01 PM12/5/15
to QuickApps CMS
I move HelloWorld folder to cms-2-0-0-beta2/vendor/quickapps/cms/plugins folder.
> You should never modify the "vendor" directory by yourself as it's managed by Composer. If you want to put your plugin some where, then use the "plugins" directory located directly in the root of your project (cms-2-0-0-beta2/plugins/)

I've installed the attached plugin, and seems to work just fine. Remember to enable after install:

Reply all
Reply to author
Forward
0 new messages