Nimble Page Builder - Version 1.6.7

Version Description

Fixed a contact form error on form submission.

=

Download this release

Release Info

Developer nikeo
Plugin Icon 128x128 Nimble Page Builder
Version 1.6.7
Comparing to
See all releases

Code changes from version 1.6.6 to 1.6.7

inc/czr-base-fmk/czr-base-fmk.php CHANGED
@@ -27,6 +27,8 @@ if ( ! class_exists( 'CZR_Fmk_Base_Construct' ) ) :
27
 
28
  public $czr_css_attr = array();
29
 
 
 
30
  public static function czr_fmk_get_instance( $params ) {
31
  if ( ! isset( self::$instance ) && ! ( self::$instance instanceof CZR_Fmk_Base ) ) {
32
  self::$instance = new CZR_Fmk_Base( $params );
@@ -586,7 +588,11 @@ if ( ! class_exists( 'CZR_Fmk_Base_Tmpl_Builder' ) ) :
586
 
587
  'scope' => 'local',// <= used when resetting the sections
588
  // introduced for https://github.com/presscustomizr/nimble-builder/issues/403
589
- 'editor_params' => array()
 
 
 
 
590
  );
591
  foreach( $tmpl_map as $input_id => $input_data ) {
592
  if ( ! is_string( $input_id ) || empty( $input_id ) ) {
@@ -1462,6 +1468,9 @@ if ( ! class_exists( 'CZR_Fmk_Dyn_Module_Registration' ) ) :
1462
  }
1463
 
1464
  $module_params = $registered_modules[ $module_type ];
 
 
 
1465
  $tmpl_params = $module_params[ 'tmpl' ];
1466
  // Enqueue the list of registered scripts
1467
  if ( empty( $tmpl_params ) ) {
27
 
28
  public $czr_css_attr = array();
29
 
30
+ public $current_module_params_when_ajaxing;// store the params when ajaxing and allows us to access the currently requested module params at any point of the ajax action
31
+
32
  public static function czr_fmk_get_instance( $params ) {
33
  if ( ! isset( self::$instance ) && ! ( self::$instance instanceof CZR_Fmk_Base ) ) {
34
  self::$instance = new CZR_Fmk_Base( $params );
588
 
589
  'scope' => 'local',// <= used when resetting the sections
590
  // introduced for https://github.com/presscustomizr/nimble-builder/issues/403
591
+ 'editor_params' => array(),
592
+
593
+ // introduced for https://github.com/presscustomizr/nimble-builder/issues/431
594
+ 'section_collection' => array(),
595
+ 'section_type' => 'content'
596
  );
597
  foreach( $tmpl_map as $input_id => $input_data ) {
598
  if ( ! is_string( $input_id ) || empty( $input_id ) ) {
1468
  }
1469
 
1470
  $module_params = $registered_modules[ $module_type ];
1471
+ // Store the params now, so we can access them when rendering the input templates
1472
+ $this->current_module_params_when_ajaxing = $module_params;
1473
+
1474
  $tmpl_params = $module_params[ 'tmpl' ];
1475
  // Enqueue the list of registered scripts
1476
  if ( empty( $tmpl_params ) ) {
inc/sektions/ccat-sektions.php CHANGED
@@ -2679,7 +2679,7 @@ function sek_extract_numeric_value( $value ) {
2679
  ?><?php
2680
  add_action( 'after_setup_theme', '\Nimble\sek_schedule_module_registration', 50 );
2681
  function sek_schedule_module_registration() {
2682
- if ( skp_is_customizing() || ( defined('DOING_AJAX') && DOING_AJAX ) ) {
2683
  sek_register_modules();
2684
  } else {
2685
  add_action( 'wp', '\Nimble\sek_register_modules', PHP_INT_MAX );
2679
  ?><?php
2680
  add_action( 'after_setup_theme', '\Nimble\sek_schedule_module_registration', 50 );
2681
  function sek_schedule_module_registration() {
2682
+ if ( skp_is_customizing() || ( defined('DOING_AJAX') && DOING_AJAX ) || isset( $_POST['nimble_simple_cf'] ) ) {
2683
  sek_register_modules();
2684
  } else {
2685
  add_action( 'wp', '\Nimble\sek_register_modules', PHP_INT_MAX );
nimble-builder.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: Nimble Page Builder
4
  * Description: Powerful drag and drop page builder using the native WordPress customizer.
5
- * Version: 1.6.6
6
  * Text Domain: nimble-builder
7
  * Author: Press Customizr
8
  * Author URI: https://nimblebuilder.com/?utm_source=wp-plugins&utm_medium=wp-dashboard&utm_campaign=author-uri
@@ -13,7 +13,7 @@ if ( ! defined( 'ABSPATH' ) ) {
13
  /* ------------------------------------------------------------------------- *
14
  * CONSTANTS
15
  /* ------------------------------------------------------------------------- */
16
- $current_version = "1.6.6";
17
  if ( !defined( "NIMBLE_VERSION" ) ) { define( "NIMBLE_VERSION", $current_version ); }
18
  if ( !defined( 'NIMBLE_DIR_NAME' ) ) { define( 'NIMBLE_DIR_NAME' , basename( dirname( __FILE__ ) ) ); }
19
  if ( !defined( 'NIMBLE_BASE_URL' ) ) { define( 'NIMBLE_BASE_URL' , plugins_url( NIMBLE_DIR_NAME ) ); }
2
  /**
3
  * Plugin Name: Nimble Page Builder
4
  * Description: Powerful drag and drop page builder using the native WordPress customizer.
5
+ * Version: 1.6.7
6
  * Text Domain: nimble-builder
7
  * Author: Press Customizr
8
  * Author URI: https://nimblebuilder.com/?utm_source=wp-plugins&utm_medium=wp-dashboard&utm_campaign=author-uri
13
  /* ------------------------------------------------------------------------- *
14
  * CONSTANTS
15
  /* ------------------------------------------------------------------------- */
16
+ $current_version = "1.6.7";
17
  if ( !defined( "NIMBLE_VERSION" ) ) { define( "NIMBLE_VERSION", $current_version ); }
18
  if ( !defined( 'NIMBLE_DIR_NAME' ) ) { define( 'NIMBLE_DIR_NAME' , basename( dirname( __FILE__ ) ) ); }
19
  if ( !defined( 'NIMBLE_BASE_URL' ) ) { define( 'NIMBLE_BASE_URL' , plugins_url( NIMBLE_DIR_NAME ) ); }
readme.txt CHANGED
@@ -6,7 +6,7 @@ Tags: page builder, visual editor, customizer, drag and drop, header, footer, la
6
  Requires at least: 4.7
7
  Requires PHP: 5.4
8
  Tested up to: 5.1.1
9
- Stable tag: 1.6.6
10
  License: GPLv3
11
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
12
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8FMNQPU36U27J&source=url
@@ -14,8 +14,8 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
14
  Powerful drag and drop page builder using the native WordPress customizer.
15
 
16
  == Description ==
17
- = What is the Nimble Page Builder ? =
18
- **[Nimble Page Builder](https://nimblebuilder.com/?utm_source=wp-org&utm_campaign=nimble-builder-page&utm_medium=link)** is a powerful yet easy to use page builder plugin for WordPress. Nimble Builder uses the live customizer which is the native WordPress interface for real-time design.
19
  The plugin allows you to drag-and-drop modules like text-editor, post grids, images, contact forms, maps, icons, or beautiful pre-built sections with a [parallax background](https://docs.presscustomizr.com/article/380-how-to-set-a-parallax-background-for-a-section-in-wordpress-with-the-nimble-builder/?utm_source=wp-org&utm_campaign=nimble-builder-page&utm_medium=link), into any page of your site. You can edit your sections in real-time, and then click "publish" when you are happy with the result, or save for later.
20
 
21
  Watch the video below to see how this [demo page](https://demo.presscustomizr.com/nimble-builder/?utm_source=wp-org&utm_campaign=nimble-builder-page&utm_medium=link) has been built !
@@ -51,6 +51,7 @@ Nimble Builder allows you to insert sections in any context of your site : home
51
  * [Image](https://docs.presscustomizr.com/article/381-how-to-enable-lightbox-on-your-images-with-the-nimble-builder/?utm_source=wp-org&utm_medium=link&utm_campaign=nimble-builder-page)
52
  * Button
53
  * Icon
 
54
  * [Contact Form](https://docs.presscustomizr.com/article/385-how-to-enable-recaptcha-protection-against-spam-in-your-forms-with-the-nimble-builder/?utm_source=wp-org&utm_medium=link&utm_campaign=nimble-builder-page)
55
  * [Google Map](https://docs.presscustomizr.com/article/387-how-to-insert-google-maps-in-your-wordpress-pages-with-the-nimble-builder/?utm_source=wp-org&utm_medium=link&utm_campaign=nimble-builder-page)
56
  * Divider
@@ -59,7 +60,6 @@ Nimble Builder allows you to insert sections in any context of your site : home
59
  * Quote
60
  * Widget zone
61
  * Menu
62
- * Post Grid ( under development )
63
  * Image Slider ( under development )
64
  * Accordion ( under development )
65
  * ... and more to come !
@@ -71,12 +71,12 @@ Once [installed](https://docs.presscustomizr.com/article/347-installing-the-nimb
71
  You'll find a growing online knowledge base for Nimble builder here : [Nimble builder documentation](https://docs.presscustomizr.com/collection/334-nimble-builder/?utm_source=wp-org&utm_medium=link&utm_campaign=nimble-builder-page).
72
 
73
  * [Getting started with Nimble Page Builder for WordPress](https://docs.presscustomizr.com/article/337-getting-started-with-the-nimble-builder-plugin)
74
- * [Technical requirements for the Nimble Builder : server, browser, php version, WP version](https://docs.presscustomizr.com/article/355-technical-requirements-server-browser-php-version-wordpress-version)
75
  * [Designing for mobile devices with the WordPress Nimble Builder](https://docs.presscustomizr.com/article/343-designing-for-mobile-devices-with-wordpress-nimble-builder)
76
  * [How to start building from a blank page with the WordPress Nimble Builder?](https://docs.presscustomizr.com/article/371-how-to-start-building-from-a-blank-page-with-the-wordpress-nimble-builder)
77
- * [How to build your WordPress header and footer with the Nimble Builder ?](https://docs.presscustomizr.com/article/358-building-your-header-and-footer-with-the-nimble-builder)
78
- * [How to set a parallax background for a section in WordPress with the Nimble Builder ?](https://docs.presscustomizr.com/article/380-how-to-set-a-parallax-background-for-a-section-in-wordpress-with-the-nimble-builder)
79
- * [How to enable reCAPTCHA protection against spam in your forms with the Nimble Builder?](https://docs.presscustomizr.com/article/385-how-to-enable-recaptcha-protection-against-spam-in-your-forms-with-the-nimble-builder)
80
  * [How to change the page template with Nimble Builder ?](https://docs.presscustomizr.com/article/339-changing-the-page-template)
81
 
82
  == Screenshots ==
@@ -95,15 +95,27 @@ You'll find a growing online knowledge base for Nimble builder here : [Nimble bu
95
  5. Drag a module from the left panel and drop it in a drop zone of the previewed page
96
 
97
  == Frequently Asked Questions ==
98
- = Can I use the Nimble Builder with any theme ? =
99
 
100
- The Nimble builder works with any WordPress theme. If you experience any problem with a specific theme, please report it in the [plugin support forum](https://wordpress.org/support/plugin/nimble-builder).
 
 
 
 
 
 
 
 
 
101
 
102
  == Upgrade Notice ==
103
- = 1.6.6 =
104
- Added a button to the admin widget dashboard. Added a dismissable feedback UI in the customizer.
105
 
106
  == Changelog ==
 
 
 
107
  = 1.6.6 : April 10th 2019 =
108
  * added : a button to the admin widget dashboard
109
  * added : a dismissable feedback UI in the customizer
@@ -199,7 +211,7 @@ Added a button to the admin widget dashboard. Added a dismissable feedback UI in
199
  = 1.4.6 : February 1st, 2019 =
200
  * fixed : when no stylesheet file has been generated on front, the fallback hook to print the inline stylesheet is not defined.
201
  * added : [Image module] implement a simple lightbox option
202
- * added : an admin bar "quick link" to edit a page, post or term with the Nimble Builder
203
 
204
  = 1.4.5 : January 26th, 2019 =
205
  * fixed : Dynamic CSS : the font-size input should not have a default value
@@ -352,7 +364,7 @@ Added a button to the admin widget dashboard. Added a dismissable feedback UI in
352
  = 1.1.0 : October 5th, 2018 =
353
  * This version includes major improvements. Many new modules and pre-designed sections are now available to create your pages.
354
  * New modules : heading, icon, button, Google map, Html content, quote, spacer, divider, contact form.
355
- * The user interface has been enhanced with a non intrusive top bar, including do/undo buttons, and global settings for the Nimble builder.
356
 
357
  = 1.0.4 : June 14th, 2018 =
358
  * fixed : when margins and paddings are not defined ( number field emptied ), no related CSS properties should be printed.
6
  Requires at least: 4.7
7
  Requires PHP: 5.4
8
  Tested up to: 5.1.1
9
+ Stable tag: 1.6.7
10
  License: GPLv3
11
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
12
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8FMNQPU36U27J&source=url
14
  Powerful drag and drop page builder using the native WordPress customizer.
15
 
16
  == Description ==
17
+ = What is Nimble Page Builder ? =
18
+ **[Nimble Page Builder](https://nimblebuilder.com/?utm_source=wp-org&utm_campaign=nimble-builder-page&utm_medium=link)** is an easy to use yet powerful page builder plugin for WordPress. Nimble Builder uses the live customizer which is the native WordPress interface for real-time design.
19
  The plugin allows you to drag-and-drop modules like text-editor, post grids, images, contact forms, maps, icons, or beautiful pre-built sections with a [parallax background](https://docs.presscustomizr.com/article/380-how-to-set-a-parallax-background-for-a-section-in-wordpress-with-the-nimble-builder/?utm_source=wp-org&utm_campaign=nimble-builder-page&utm_medium=link), into any page of your site. You can edit your sections in real-time, and then click "publish" when you are happy with the result, or save for later.
20
 
21
  Watch the video below to see how this [demo page](https://demo.presscustomizr.com/nimble-builder/?utm_source=wp-org&utm_campaign=nimble-builder-page&utm_medium=link) has been built !
51
  * [Image](https://docs.presscustomizr.com/article/381-how-to-enable-lightbox-on-your-images-with-the-nimble-builder/?utm_source=wp-org&utm_medium=link&utm_campaign=nimble-builder-page)
52
  * Button
53
  * Icon
54
+ * Post Grid
55
  * [Contact Form](https://docs.presscustomizr.com/article/385-how-to-enable-recaptcha-protection-against-spam-in-your-forms-with-the-nimble-builder/?utm_source=wp-org&utm_medium=link&utm_campaign=nimble-builder-page)
56
  * [Google Map](https://docs.presscustomizr.com/article/387-how-to-insert-google-maps-in-your-wordpress-pages-with-the-nimble-builder/?utm_source=wp-org&utm_medium=link&utm_campaign=nimble-builder-page)
57
  * Divider
60
  * Quote
61
  * Widget zone
62
  * Menu
 
63
  * Image Slider ( under development )
64
  * Accordion ( under development )
65
  * ... and more to come !
71
  You'll find a growing online knowledge base for Nimble builder here : [Nimble builder documentation](https://docs.presscustomizr.com/collection/334-nimble-builder/?utm_source=wp-org&utm_medium=link&utm_campaign=nimble-builder-page).
72
 
73
  * [Getting started with Nimble Page Builder for WordPress](https://docs.presscustomizr.com/article/337-getting-started-with-the-nimble-builder-plugin)
74
+ * [Technical requirements for Nimble Builder : server, browser, php version, WP version](https://docs.presscustomizr.com/article/355-technical-requirements-server-browser-php-version-wordpress-version)
75
  * [Designing for mobile devices with the WordPress Nimble Builder](https://docs.presscustomizr.com/article/343-designing-for-mobile-devices-with-wordpress-nimble-builder)
76
  * [How to start building from a blank page with the WordPress Nimble Builder?](https://docs.presscustomizr.com/article/371-how-to-start-building-from-a-blank-page-with-the-wordpress-nimble-builder)
77
+ * [How to build your WordPress header and footer with Nimble Builder ?](https://docs.presscustomizr.com/article/358-building-your-header-and-footer-with-the-nimble-builder)
78
+ * [How to set a parallax background for a section in WordPress with Nimble Builder ?](https://docs.presscustomizr.com/article/380-how-to-set-a-parallax-background-for-a-section-in-wordpress-with-the-nimble-builder)
79
+ * [How to enable reCAPTCHA protection against spam in your forms with Nimble Builder?](https://docs.presscustomizr.com/article/385-how-to-enable-recaptcha-protection-against-spam-in-your-forms-with-the-nimble-builder)
80
  * [How to change the page template with Nimble Builder ?](https://docs.presscustomizr.com/article/339-changing-the-page-template)
81
 
82
  == Screenshots ==
95
  5. Drag a module from the left panel and drop it in a drop zone of the previewed page
96
 
97
  == Frequently Asked Questions ==
98
+ = Can I use Nimble Builder with any theme ? =
99
 
100
+ Nimble builder works with any WordPress theme. If you experience any problem with a specific theme, please report it in the [plugin support forum](https://wordpress.org/support/plugin/nimble-builder).
101
+
102
+ = How to troubleshoot problems with Nimble Builder ? =
103
+ 1. **Use the latest software versions** : make sure WordPress, Nimble Builder and your theme are all up to date.
104
+ 2. **Documentation** : try to find a possible solution in our [documentation pages](https://docs.presscustomizr.com/collection/334-nimble-builder/?utm_source=wp-org&utm_medium=link&utm_campaign=nimble-builder-page).
105
+ 3. **Search the forum** : use the search field on top of the topic list with keywords describing your issue. Another user may have had a similar problem already resolved.
106
+ 4. **Cache plugin** : if you use a server cache or cache plugin, please clear it’s cache content and disable caching via it’s settings. It is recommended to disable your cache plugin when customizing your site.
107
+ 5. **Check for plugin conflict** : deactivate all of your plugins. If it fixes the issue, re-activate your plugins one by one, until you identify the plugin in conflict.
108
+ 6. **Browser** : [clear your browser's cache / history](https://docs.presscustomizr.com/article/309-how-to-clear-your-browsers-cache-cookies-and-history/?utm_source=wp-org&utm_medium=link&utm_campaign=nimble-builder-page). Switch to another browser if needed. Make sure you do not use a browser extension that conflicts with the plugin.
109
+ 7. **Theme** : try to switch to another WordPress theme, like the default WordPress theme. If you use a child theme, activate the parent theme instead.
110
 
111
  == Upgrade Notice ==
112
+ = 1.6.7 =
113
+ Fixed a contact form error on form submission.
114
 
115
  == Changelog ==
116
+ = 1.6.7 : April 15th 2019 =
117
+ * fixed : a contact form error on form submission.
118
+
119
  = 1.6.6 : April 10th 2019 =
120
  * added : a button to the admin widget dashboard
121
  * added : a dismissable feedback UI in the customizer
211
  = 1.4.6 : February 1st, 2019 =
212
  * fixed : when no stylesheet file has been generated on front, the fallback hook to print the inline stylesheet is not defined.
213
  * added : [Image module] implement a simple lightbox option
214
+ * added : an admin bar "quick link" to edit a page, post or term with Nimble Builder
215
 
216
  = 1.4.5 : January 26th, 2019 =
217
  * fixed : Dynamic CSS : the font-size input should not have a default value
364
  = 1.1.0 : October 5th, 2018 =
365
  * This version includes major improvements. Many new modules and pre-designed sections are now available to create your pages.
366
  * New modules : heading, icon, button, Google map, Html content, quote, spacer, divider, contact form.
367
+ * The user interface has been enhanced with a non intrusive top bar, including do/undo buttons, and global settings for Nimble builder.
368
 
369
  = 1.0.4 : June 14th, 2018 =
370
  * fixed : when margins and paddings are not defined ( number field emptied ), no related CSS properties should be printed.