Plugin Directory

source: blocks-for-civicrm/tags/1.4.0/readme.txt @ 3086334

Last change on this file since 3086334 was 3086334, checked in by bastho, 2 months ago

Deploy v1.4.0 - Update stable tag to 1.4

File size: 2.8 KB
Line 
1# Blocks for CiviCRM
2Contributors: bastho, aureliefoucher 
3Donate link: https://apps.avecnous.eu/en/product/blocks-for-civicrm/?mtm_campaign=wp-plugin&mtm_kwd=blocks-for-civicrm&mtm_medium=wp-repo&mtm_source=donate
4Tags: civicrm, block, gutenberg, crm 
5Requires at least: 5.4 
6Tested up to: 6.5 
7Stable tag: 1.4.0 
8License: GPLv2 
9License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
11Gutenberg block in place of CiviCRM shortcode
12
13## Description
14
15CiviCRM uses shortcode in order to insert dynamic content into WordPress pages, such as Petition, Survey, Contribution form, Membership…
16
17As mentioned into the [CiviCRM documentation](https://docs.civicrm.org/sysadmin/en/latest/integration/wordpress/):
18"Currently there is no specific CiviCRM block for Gutenberg so there is no interactive way to see the options available for the shortcode.
19You will need to know the format and look up IDs and options in CiviCRM before creating the shortcode in WordPress."
20
21Knowing an object ID is not very convenient. So we've made a plugin which uses the CiviCRM API to get and display all attributes for the shortcode, directly in a simple block.
22
23This way, embedding CiviCRM content into any WordPress page becomes a child's play!
24
25## Installation
26
271. Install, activate and configure CiviCRM (if not done yet)
282. Install and activate **Blocks for CiviCRM** as any plugin
293. In the editor, search the block "CiviCRM Component"
30
31
32
33## Changelog
34
35### 1.4.0
36
37- Add preview in editor
38- Test if CiviCRM is activated before loading its options
39- Load after `plugins_loaded` hook
40- Uses composer autoload
41- Uses wp_add_inline_script to pass options to the block
42- Update all dependencies to latest version
43    - wordpress/block-editor v12.14.0
44    - wordpress/blocks v12.23.0
45    - wordpress/components v25.12.0
46    - wordpress/element v5.23.0
47    - wordpress/hooks v3.46.0
48    - wordpress/i18n v4.46.0
49    - wordpress/server-side-render v4.23.0
50    - wp-reporting v1.6
51
52### 1.3.4
53
54- Update wp-reporting to v1.5.1, fix WP Notices about scripts
55
56### 1.3.3
57
58- Update wp-reporting to v1.5
59
60### 1.3.2
61
62- Fix "Undefined array key className" warning.
63- Update wp-reporting to v1.4
64
65### 1.3.1
66
67- Let CiviCRM call its generated shortcode
68- Update wp-reporting to v1.3
69
70### 1.3.0
71
72- Cleanup shortcode attributes (only keep those CiviCRM understands)
73- Set default value for mode & hijack
74- Update NPM dependencies
75
76### 1.2.0
77
78- Removes limit of options
79- Uses CiviCRM API4 when possible
80- Remove some PHP8+ deprecated warnings
81
82### 1.1.2
83
84- Fix Parse error on PHP7.4
85
86### 1.1.1
87
88- Fix Parse error on PHP7.4
89
90### 1.1.0
91
92- Refactor: use latest version of blocks library
93- Wrap output into a div. Allows editor to add CSS classes
94- Add error log report option
95
96### 1.0.0
97
98-  Initial release
99
100### Upgrade notice
101
102No particular informations
Note: See TracBrowser for help on using the repository browser.