!! Work in progress, use at your own risk !!
Easily enable remarking on any Model Object.
- To associate User model with user_id, need to add 'hasMany' association manually to model.
- Remark model needs to be adjusted for User model association (move into a config somehow?).
- The sample view elements will use jQuery for some AJAX stuff.
- SoftDeletable must be included separately and then the config must be set.
- Better sample view files.
- Move methods in
app_controller.phpto an abstracted controller in the plugin. - Move some of the settings to a config (global stuff, like softDeletable integration).
- Finish installation and usage instructions.
- Write tests for behavior and such.
-
There are a few options to add the plugin:
a. Clone code from Github (https://github.com/DailyPath/Remarkable-Plugin);
$ git clone git@github.com:DailyPath/Remarkable-Plugin.git /path/to/desired/plugin/directoryb. Add as a submodule:
$ git submodule add git@github.com:DailyPath/Remarkable-Plugin.git /path/to/desired/plugin/directory $ git submodule initc. Download and place it in your desired directory:
https://github.com/DailyPath/Remarkable-Plugin/zipball/master -
Setup Remark table
$ cake schema create Remarkable.remark