Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 2.74 KB

README.md

File metadata and controls

46 lines (35 loc) · 2.74 KB

Data source CiviCRM api for wpDataTable

Provides a CiviCRM api data source for wpDataTable plugin. You can use this plugin with Connector to CiviCRM with CiviMcRestFace plugin which gives you the ability to connect to an CiviCRM installation on a different server.

This plugin works with the free version of the plugin but the only drawback is that you cannot replace content in a column.

Funded by

Contributing

The code of this plugin is published and maintained at Github. The plugin is also published at Wordpress.org and this requires that we submit each release to the Wordpress SVN

Workflow for development

  1. Fork the repository at Github
  2. Create a new branch for the functionality you want to develop, or for the bug you want to fix.
  3. Write your code and test it, once you are finished push it to your fork.
  4. Create a Pull Request at Github to notify us to merge your changes.

Workflow for creating a release

Based on the instruction from Learn with Daniel

  1. Update readme.txt with the new version number (also update the Changelog section)
  2. Update wpcivicrm-datatable.php with the new version number
  3. Create a new version at Github.
  4. To publish the release at Wordpress Plugin directory follow the following steps:
    1. Create a temp directory: mkdir wpcivicrm-datatable-tmp
    2. Go into this directory: cd wpcivicrm-datatable-tmp
    3. Do an SVN checkout into SVN directory: svn checkout https://plugins.svn.wordpress.org/data-source-civicrm-api-for-wpdatatable svn
    4. Clone the Github repository into Github directory: git clone https://github.com/CiviMRF/wpcivicrm-datatable.git github
    5. Go into the Github directory: cd github
    6. Checkout the created release (in our example 1.0.0): git checkout 1.0.0
    7. Go into the svn directory: cd ../svn
    8. Copie the files from github to SVN: rsync -rc --exclude-from="../github/.distignore" "../github/" trunk/ --delete --delete-excluded
    9. Add the files to SVN: svn add . --force
    10. Tag the release in SVN (in our example 1.0.0): svn cp "trunk" "tags/1.0.0"
    11. Now submit to the Wordpress SVN with a message: svn ci -m 'Adding 1.0.0'