Changeset 3261546
- Timestamp:
- 03/25/2025 12:47:59 PM (12 months ago)
- Location:
- cs-integration
- Files:
-
- 14 edited
-
tags/1.0.3/README.md (modified) (4 diffs)
-
tags/1.0.3/README.txt (modified) (1 diff)
-
tags/1.0.3/admin/class-cs-integration-admin.php (modified) (2 diffs)
-
tags/1.0.3/includes/class-cs-integration-deactivator.php (modified) (2 diffs)
-
tags/1.0.3/includes/class-cs-integration-i18n.php (modified) (3 diffs)
-
tags/1.0.3/includes/class-cs-integration-loader.php (modified) (2 diffs)
-
tags/1.0.3/includes/class-cs-integration.php (modified) (3 diffs)
-
trunk/README.md (modified) (4 diffs)
-
trunk/README.txt (modified) (1 diff)
-
trunk/admin/class-cs-integration-admin.php (modified) (2 diffs)
-
trunk/includes/class-cs-integration-deactivator.php (modified) (2 diffs)
-
trunk/includes/class-cs-integration-i18n.php (modified) (3 diffs)
-
trunk/includes/class-cs-integration-loader.php (modified) (2 diffs)
-
trunk/includes/class-cs-integration.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cs-integration/tags/1.0.3/README.md
r3257921 r3261546 32 32 33 33 34 ## #A little Technical information34 ## A little Technical information 35 35 36 36 For the technical among you: This shortcode works on the 'server side', … … 38 38 Future updates will provide 'client side' javascript alternative shortcodes 39 39 so that you can choose where the processing is done. 40 41 42 ### Difference between this plugin and cs-js-integration 43 44 We also provide the `cs-js-integration` plugin. That plugin uses the more 45 recent v3 ChurchSuite API which does permit such flexibility because it 46 requires you to create a ChurchSuite 'embed configuration' to pass in the 47 shortcode call. It also does all the work on the 'client side' so that 48 the client browser holds the cached data and the client browser creates all 49 the html for output. That plugin use Javascript to create the response 50 whereas this plugin uses php. This server-side implementation can be faster 51 for many repeated requests, and is less speed dependent on the client 52 provision. However the client-side implementation can be faster for an 53 individual user. The cs-js-integration plugin uses Alpine.js to output the 54 HTML, which means an end user could change the output by changing the HTML 55 files without having to get into the php of the plugin. However, the 56 Alpine.js code isn't straightforward and so this is likely to be of little 57 advantage. Really, it's simply 'horses for courses' - you have the choice 58 of which to use! 40 59 41 60 … … 148 167 ### The shortcode produces no output 149 168 150 The default behaviour when there is an error is to give no output rather151 than produce error messages all over your website. Check that you have152 supplied the correct churchname, or test it with the churchname 'cambray'153 to see if that is the problem. Check that you can actually get to your154 ChurchSuite JSON api url - try entering the following URL in a browser155 with your church name instead of `mychurch`:156 157 https://mychurch.churchsuite.com/embed/calendar/json?num_results=3169 The default behaviour when there is an error is to give no output rather 170 than produce error messages all over your website. Check that you have 171 supplied the correct churchname, or test it with the churchname 'cambray' 172 to see if that is the problem. Check that you can actually get to your 173 ChurchSuite JSON api url - try entering the following URL in a browser 174 with your church name instead of `mychurch`: 175 176 https://mychurch.churchsuite.com/embed/calendar/json?num_results=3 158 177 159 178 ### How do I add my church so that I get the JSON feed for my church? 160 179 161 You must use the shortcode `church_name` parameter:180 You must use the shortcode `church_name` parameter: 162 181 163 182 [cs-event-cards church_name="mychurch" num_results="3"] … … 165 184 ### I want to limit the number of events in the shortcode 166 185 167 You can use a shortcode parameter for showing a particular number of events:168 169 [cs-events-list church_name="mychurch" num_results="6"]186 You can use a shortcode parameter for showing a particular number of events: 187 188 [cs-events-list church_name="mychurch" num_results="6"] 170 189 171 190 ### I want to change how the output looks: 172 191 173 The output is formatted via css - just override the defaults in your theme192 The output is formatted via css - just override the defaults in your theme 174 193 175 194 -
cs-integration/tags/1.0.3/README.txt
r3257921 r3261546 32 32 33 33 34 == A little Technical information 34 == A little Technical information == 35 35 For the technical among you: This shortcode works on the 'server side', 36 36 building the response which is delivered to your browser from churchsuite. 37 Future updates will provide 'client side' javascript alternative shortcodes 38 so that you can choose where the processing is done. 37 38 39 = Difference between this plugin and cs-js-integration = 40 41 We also provide the `cs-js-integration` plugin. That plugin uses the more 42 recent v3 ChurchSuite API which does permit such flexibility because it 43 requires you to create a ChurchSuite 'embed configuration' to pass in the 44 shortcode call. It also does all the work on the 'client side' so that 45 the client browser holds the cached data and the client browser creates all 46 the html for output. That plugin use Javascript to create the response 47 whereas this plugin uses php. This server-side implementation can be faster 48 for many repeated requests, and is less speed dependent on the client 49 provision. However the client-side implementation can be faster for an 50 individual user. The cs-js-integration plugin uses Alpine.js to output the 51 HTML, which means an end user could change the output by changing the HTML 52 files without having to get into the php of the plugin. However, the 53 Alpine.js code isn't straightforward and so this is likely to be of little 54 advantage. Really, it's simply 'horses for courses' - you have the choice 55 of which to use! 56 39 57 40 58 -
cs-integration/tags/1.0.3/admin/class-cs-integration-admin.php
r3257115 r3261546 3 3 namespace amb_dev\CSI; 4 4 5 6 /**7 * The admin-specific functionality of the plugin.8 *9 * @link https://https://github.com/AlwynBarry10 * @since 1.0.011 *12 * @package Cs_Integration13 * @subpackage Cs_Integration/admin14 */15 5 16 6 /** … … 22 12 * Defines the plugin name, version, and two examples hooks for how to 23 13 * enqueue the admin-specific stylesheet and JavaScript. 14 * 15 * @link https://https://github.com/AlwynBarry 16 * @since 1.0.0 24 17 * 25 18 * @package Cs_Integration -
cs-integration/tags/1.0.3/includes/class-cs-integration-deactivator.php
r3257115 r3261546 3 3 namespace amb_dev\CSI; 4 4 5 /**6 * Fired during plugin deactivation7 *8 * @link https://https://github.com/AlwynBarry9 * @since 1.0.010 *11 * @package Cs_Integration12 * @subpackage Cs_Integration/includes13 */14 5 15 6 /** … … 18 9 * This class defines all code necessary to run during the plugin's deactivation. 19 10 * 11 * @link https://https://github.com/AlwynBarry 20 12 * @since 1.0.0 21 13 * @package Cs_Integration -
cs-integration/tags/1.0.3/includes/class-cs-integration-i18n.php
r3257115 r3261546 3 3 namespace amb_dev\CSI; 4 4 5 5 6 /** 6 * Define the internationalization functionality 7 * Define the internationalization functionality. 7 8 * 8 9 * Loads and defines the internationalization files for this plugin … … 10 11 * 11 12 * @link https://https://github.com/AlwynBarry 12 * @since 1.0.013 *14 * @package Cs_Integration15 * @subpackage Cs_Integration/includes16 */17 18 /**19 * Define the internationalization functionality.20 *21 * Loads and defines the internationalization files for this plugin.22 *23 13 * @since 1.0.0 24 14 * @package Cs_Integration … … 45 35 46 36 47 48 37 } -
cs-integration/tags/1.0.3/includes/class-cs-integration-loader.php
r3257115 r3261546 3 3 namespace amb_dev\CSI; 4 4 5 /**6 * Register all actions and filters for the plugin7 *8 * @link https://https://github.com/AlwynBarry9 * @since 1.0.010 *11 * @package Cs_Integration12 * @subpackage Cs_Integration/includes13 */14 5 15 6 /** … … 20 11 * run function to execute the list of actions and filters. 21 12 * 13 * @link https://https://github.com/AlwynBarry 14 * @since 1.0.0 22 15 * @package Cs_Integration 23 16 * @subpackage Cs_Integration/includes -
cs-integration/tags/1.0.3/includes/class-cs-integration.php
r3257115 r3261546 2 2 3 3 namespace amb_dev\CSI; 4 5 6 /**7 * The file that defines the core plugin class8 *9 * This class includes attributes and functions used across both the10 * public-facing side of the site and the admin area.11 *12 * @link https://https://github.com/AlwynBarry13 * @since 1.0.014 *15 * @package Cs_Integration16 * @subpackage Cs_Integration/includes17 */18 4 19 5 … … 27 13 * version of the plugin. 28 14 * 15 * @link https://https://github.com/AlwynBarry 29 16 * @since 1.0.0 30 17 * @package Cs_Integration … … 123 110 * side of the site. 124 111 */ 125 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-cs-integration-public.php'; 126 112 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-cs-integration-public.php'; 127 113 128 114 $this->loader = new Cs_Integration_Loader(); -
cs-integration/trunk/README.md
r3257921 r3261546 32 32 33 33 34 ## #A little Technical information34 ## A little Technical information 35 35 36 36 For the technical among you: This shortcode works on the 'server side', … … 38 38 Future updates will provide 'client side' javascript alternative shortcodes 39 39 so that you can choose where the processing is done. 40 41 42 ### Difference between this plugin and cs-js-integration 43 44 We also provide the `cs-js-integration` plugin. That plugin uses the more 45 recent v3 ChurchSuite API which does permit such flexibility because it 46 requires you to create a ChurchSuite 'embed configuration' to pass in the 47 shortcode call. It also does all the work on the 'client side' so that 48 the client browser holds the cached data and the client browser creates all 49 the html for output. That plugin use Javascript to create the response 50 whereas this plugin uses php. This server-side implementation can be faster 51 for many repeated requests, and is less speed dependent on the client 52 provision. However the client-side implementation can be faster for an 53 individual user. The cs-js-integration plugin uses Alpine.js to output the 54 HTML, which means an end user could change the output by changing the HTML 55 files without having to get into the php of the plugin. However, the 56 Alpine.js code isn't straightforward and so this is likely to be of little 57 advantage. Really, it's simply 'horses for courses' - you have the choice 58 of which to use! 40 59 41 60 … … 148 167 ### The shortcode produces no output 149 168 150 The default behaviour when there is an error is to give no output rather151 than produce error messages all over your website. Check that you have152 supplied the correct churchname, or test it with the churchname 'cambray'153 to see if that is the problem. Check that you can actually get to your154 ChurchSuite JSON api url - try entering the following URL in a browser155 with your church name instead of `mychurch`:156 157 https://mychurch.churchsuite.com/embed/calendar/json?num_results=3169 The default behaviour when there is an error is to give no output rather 170 than produce error messages all over your website. Check that you have 171 supplied the correct churchname, or test it with the churchname 'cambray' 172 to see if that is the problem. Check that you can actually get to your 173 ChurchSuite JSON api url - try entering the following URL in a browser 174 with your church name instead of `mychurch`: 175 176 https://mychurch.churchsuite.com/embed/calendar/json?num_results=3 158 177 159 178 ### How do I add my church so that I get the JSON feed for my church? 160 179 161 You must use the shortcode `church_name` parameter:180 You must use the shortcode `church_name` parameter: 162 181 163 182 [cs-event-cards church_name="mychurch" num_results="3"] … … 165 184 ### I want to limit the number of events in the shortcode 166 185 167 You can use a shortcode parameter for showing a particular number of events:168 169 [cs-events-list church_name="mychurch" num_results="6"]186 You can use a shortcode parameter for showing a particular number of events: 187 188 [cs-events-list church_name="mychurch" num_results="6"] 170 189 171 190 ### I want to change how the output looks: 172 191 173 The output is formatted via css - just override the defaults in your theme192 The output is formatted via css - just override the defaults in your theme 174 193 175 194 -
cs-integration/trunk/README.txt
r3257921 r3261546 32 32 33 33 34 == A little Technical information 34 == A little Technical information == 35 35 For the technical among you: This shortcode works on the 'server side', 36 36 building the response which is delivered to your browser from churchsuite. 37 Future updates will provide 'client side' javascript alternative shortcodes 38 so that you can choose where the processing is done. 37 38 39 = Difference between this plugin and cs-js-integration = 40 41 We also provide the `cs-js-integration` plugin. That plugin uses the more 42 recent v3 ChurchSuite API which does permit such flexibility because it 43 requires you to create a ChurchSuite 'embed configuration' to pass in the 44 shortcode call. It also does all the work on the 'client side' so that 45 the client browser holds the cached data and the client browser creates all 46 the html for output. That plugin use Javascript to create the response 47 whereas this plugin uses php. This server-side implementation can be faster 48 for many repeated requests, and is less speed dependent on the client 49 provision. However the client-side implementation can be faster for an 50 individual user. The cs-js-integration plugin uses Alpine.js to output the 51 HTML, which means an end user could change the output by changing the HTML 52 files without having to get into the php of the plugin. However, the 53 Alpine.js code isn't straightforward and so this is likely to be of little 54 advantage. Really, it's simply 'horses for courses' - you have the choice 55 of which to use! 56 39 57 40 58 -
cs-integration/trunk/admin/class-cs-integration-admin.php
r3257115 r3261546 3 3 namespace amb_dev\CSI; 4 4 5 6 /**7 * The admin-specific functionality of the plugin.8 *9 * @link https://https://github.com/AlwynBarry10 * @since 1.0.011 *12 * @package Cs_Integration13 * @subpackage Cs_Integration/admin14 */15 5 16 6 /** … … 22 12 * Defines the plugin name, version, and two examples hooks for how to 23 13 * enqueue the admin-specific stylesheet and JavaScript. 14 * 15 * @link https://https://github.com/AlwynBarry 16 * @since 1.0.0 24 17 * 25 18 * @package Cs_Integration -
cs-integration/trunk/includes/class-cs-integration-deactivator.php
r3257115 r3261546 3 3 namespace amb_dev\CSI; 4 4 5 /**6 * Fired during plugin deactivation7 *8 * @link https://https://github.com/AlwynBarry9 * @since 1.0.010 *11 * @package Cs_Integration12 * @subpackage Cs_Integration/includes13 */14 5 15 6 /** … … 18 9 * This class defines all code necessary to run during the plugin's deactivation. 19 10 * 11 * @link https://https://github.com/AlwynBarry 20 12 * @since 1.0.0 21 13 * @package Cs_Integration -
cs-integration/trunk/includes/class-cs-integration-i18n.php
r3257115 r3261546 3 3 namespace amb_dev\CSI; 4 4 5 5 6 /** 6 * Define the internationalization functionality 7 * Define the internationalization functionality. 7 8 * 8 9 * Loads and defines the internationalization files for this plugin … … 10 11 * 11 12 * @link https://https://github.com/AlwynBarry 12 * @since 1.0.013 *14 * @package Cs_Integration15 * @subpackage Cs_Integration/includes16 */17 18 /**19 * Define the internationalization functionality.20 *21 * Loads and defines the internationalization files for this plugin.22 *23 13 * @since 1.0.0 24 14 * @package Cs_Integration … … 45 35 46 36 47 48 37 } -
cs-integration/trunk/includes/class-cs-integration-loader.php
r3257115 r3261546 3 3 namespace amb_dev\CSI; 4 4 5 /**6 * Register all actions and filters for the plugin7 *8 * @link https://https://github.com/AlwynBarry9 * @since 1.0.010 *11 * @package Cs_Integration12 * @subpackage Cs_Integration/includes13 */14 5 15 6 /** … … 20 11 * run function to execute the list of actions and filters. 21 12 * 13 * @link https://https://github.com/AlwynBarry 14 * @since 1.0.0 22 15 * @package Cs_Integration 23 16 * @subpackage Cs_Integration/includes -
cs-integration/trunk/includes/class-cs-integration.php
r3257115 r3261546 2 2 3 3 namespace amb_dev\CSI; 4 5 6 /**7 * The file that defines the core plugin class8 *9 * This class includes attributes and functions used across both the10 * public-facing side of the site and the admin area.11 *12 * @link https://https://github.com/AlwynBarry13 * @since 1.0.014 *15 * @package Cs_Integration16 * @subpackage Cs_Integration/includes17 */18 4 19 5 … … 27 13 * version of the plugin. 28 14 * 15 * @link https://https://github.com/AlwynBarry 29 16 * @since 1.0.0 30 17 * @package Cs_Integration … … 123 110 * side of the site. 124 111 */ 125 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-cs-integration-public.php'; 126 112 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-cs-integration-public.php'; 127 113 128 114 $this->loader = new Cs_Integration_Loader();
Note: See TracChangeset
for help on using the changeset viewer.