Giter Site home page Giter Site logo

cherryframework / cherry-framework Goto Github PK

View Code? Open in Web Editor NEW
106.0 20.0 58.0 1.41 MB

100% GNU GPL WordPress framework

Home Page: http://www.cherryframework.com/

License: GNU General Public License v3.0

PHP 56.88% JavaScript 28.42% CSS 14.69%
wordpress-development cherry-framework cherry5 modules

cherry-framework's Introduction

license Build Status

cherry-framework

Module system.

Authors

Changelog

v1.4.3

  • ADD: new module - cherry5-assets-loader
  • ADD: lock-option feature
  • ADD: 3rd parameter $this for cherry_breadcrumbs_items filter
  • ADD: new property - module version (using in register/enqueue css and js files)
  • ADD: dropdown-pages control in cherry-customizer module
  • UPD: style for widgets
  • UPD: use cherry-interface-builder in widget form
  • UPD: remove deprecated methods in cherry-widget-factory module
  • UPD: added check for AJAX-handlers in cherry-handler module
  • UPD: copyright years
  • FIX: cherry-handler module
  • FIX: placeholder attribute in UI-select
  • FIX: allow home link in breadcrumbs inherit main page title
  • FIX: function get_terms_array() in cherry-utility module
  • FIX: HTML validation for UI-elements

v1.4.2

  • HOTFIX: iconpicker control for cherry-customizer module

v1.4.1

  • ADD: allow to filter CSS reserved words while parsing functions
  • ADD: async query in cherry-handler module
  • UPD: UI-kit styles (UI-button, UI-text, UI-textarea, UI-stepper, UI-colorpicker, UI-switcher, UI-select, UI-media)
  • UPD: use wp_add_inline_style instead of wp_head for printing inline CSS
  • UPD: UI-button class prefix
  • UPD: cherry5-insert-shortcode module styles
  • UPD: allow to use description argument in iconpicker
  • FIX: UI-repeater, UI-radio master and slave bug
  • FIX: cherry-template-manager module
  • FIX: change meta_key in cherry-utility module - #149

v1.4.0

  • ADD: new modules - cherry5-insert-shortcode, cherry-db-udpates
  • ADD: text-domain
  • FIX: compatibility with WordPress 4.7
  • FIX: sanitization method in cherry-utility - #141
  • FIX: duplicate argument in UI-button - #126
  • UPD: license link in php-file headers

v1.3.1

  • ADD: macros filter into cherry-template-manager module
  • ADD: function bg-image() into cherry-dynamic-css module
  • UPD: cherry-interface-builder module styles
  • UPD: Google fonts json-file
  • FIX: Issues #124
  • FIX: Issues #123
  • FIX: Issues #120
  • FIX: Issues #118
  • FIX: Issues #116
  • FIX: Issues #115
  • FIX: UI-media button
  • DEL: system notices in cherry-handler module

v1.3.0

  • ADD: UI-button
  • ADD: new modules - cherry-handler, cherry-template-manager
  • ADD: dynamic CSS collector
  • UPD: re-factoring methods calling in cherry-post-meta module
  • FIX: replace file_get_contents to prevent validation errors
  • FIX: post meta saving
  • FIX: #81
  • FIX: #96
  • FIX: #100
  • FIX: #102
  • FIX: #109
  • DEL: cherry-page-builder module

v1.2.0

  • ADD: new module: cherry-interface-builder
  • UPD: cherry-utility module:
    1. fix for the cut_text method
    2. added get_placeholder_url method
  • UPD: UI-elements:
    1. added an option to disable ui_kit for the repeater element
    2. updated master/salve js logic in UI-elements
    3. updated HTML markup for UI-switcher, input type="hiden" replaced with double input type="radio"
  • UPD: cherry-customizer module: file system method replaced with native WordPress method
  • UPD: cherry-post-meta module:
    1. added data processing procedure before saving to the database
    2. added an option to add columns to the post listing page in the admin panel.
  • FIX: PHP-errors in cherry-post-format-api
  • DEL: remove unnecessary modules: cherry-taxonomies, cherry-post-types, cherry-creator

v1.1.0

  • FIX: saving process in cherry-post-meta module

v1.0.0

  • Init stable version

Help

Found a bug? Feature requests? Create an issue - Thanks!

Docs

  1. Quick Start Guide
  2. Real example
  3. Documentation

cherry-framework's People

Contributors

cheh avatar kaskad88 avatar makhonkodenis avatar mjhead avatar osadchyi-s avatar shintm avatar theguriev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cherry-framework's Issues

T_PAAMAYIM_NEKUDOTAYIM

The T_PAAMAYIM_NEKUDOTAYIM error occured on line 165.

if ( in_array( 'I_UI', class_implements( $ui_class_name ) ) ) {
    $ui_class_name::enqueue_assets();
}

This kind of method call should be replaced with the call_user_func function call instead.

ui-repeater and radio master and slave

I found an issue when using the ui-repeater with ui-radio master slave ui-text. It open all ui-text in the repeater. where it should only show the slave on this repeater item.

I was able to fix it by adding this class .cherry-ui-repeater-item to wrapperClass JS variable.

/**
 * Radio
 */
(function($, CherryJsCore){
	'use strict';

	CherryJsCore.utilites.namespace('ui_elements.radio');
	CherryJsCore.ui_elements.radio = {
		inputClass: '.cherry-radio-input:not([name*="__i__"])',
		containerClass: '.cherry-ui-container',
		wrapperClass: '.widget, .postbox, .cherry-form, .cherry-ui-repeater-item', 

		init: function () {
			$( document )
				.on( 'ready.cherry-ui-elements-init', this.addEvent.bind( this ) )
				.on( 'cherry-ui-elements-init', this.setState.bind( this ) );
		},
		addEvent: function () {
			$( 'body' ).on( 'click.masterSlave', this.inputClass, this.switchState.bind( this ) );
			this.setState( { '_target': $( 'body' ) } );
		},
		setState: function ( event ) {
			this.switchState( { 'currentTarget': $( this.inputClass, event._target ) } );
		},
		switchState: function ( event ) {
			var parent   = $( event.currentTarget ).closest( this.containerClass ),
				children = $( this.inputClass, parent ),
				i        = children.length - 1,
				$_target,
				wrapper,
				data;

			for (; i >= 0; i--) {
				$_target = $( children[ i ] );
				data     = $_target.data();
				wrapper  = $_target.closest( this.wrapperClass );

				if ( jQuery.isEmptyObject( data ) ) {
					continue;
				} else {
					
					$( '.' + data.slave, wrapper )[ ( $_target[ 0 ].checked ) ? 'removeClass' : 'addClass' ]( 'hide' );
				}
			}
		}
	};

	CherryJsCore.ui_elements.radio.init();
}(jQuery, window.CherryJsCore));

WPD-702

Push solution in individual branch

Cherry Theme 'Pool' ...

Hej,

I just installed the Pool theme for a client and added the sample data.

Now I see this in the 'Home' page -

Is this seriously how my client is supposed to put data into that site or did something go wrong during my installation? (This is in the visual editor - not the textual editor)

[cherry_row bg_type="parallax_image" image_src="http://chronocode.de/wp-content/uploads/2016/12/parallax-img1.jpg" parallax_speed="1.5" parallax_invert="no"
min_height="300" class="parallax_1 indent_1"]

[cherry_col size_xs="12" size_sm="12" size_md="12" size_lg="12" offset_xs="none" offset_sm="none" offset_md="none" offset_lg="none" pull_xs="none" pull_sm="none" pull_md="none"
pull_lg="none" push_xs="none" push_sm="none" push_md="none" push_lg="none" bg_type="none"]

[cherry_row_inner type="fixed-width" bg_type="none"]

[cherry_col_inner size_xs="12" size_sm="12" size_md="12" size_lg="12" offset_xs="none" offset_sm="none" offset_md="none" offset_lg="none" pull_xs="none" pull_sm="none" pull_md="none"
pull_lg="none" push_xs="none" push_sm="none" push_md="none" push_lg="none" collapse="no" bg_type="none"]

Hello

[/cherry_col_inner]

[/cherry_row_inner]

[cherry_row_inner type="fixed-width"]

[cherry_col_inner size_xs="12" size_sm="12" size_md="12" size_lg="12"]

Lorem ipsum dolor sit amet consectetuer adipiscing elit. Praesent vestibulum molestie lacus. Aenean nonummy hendrerit mauris. Phasellus porta. Fusce suscipit varius mi. Cum sociis natoque
penatibus et magnis di arturient ontes nascetur ridiculus mus. Nulla du.

[/cherry_col_inner]

[/cherry_row_inner]

.......

Content Video

If the post contains video and thumbnail, both of them are displayed (one under another).
The thumbnail has to overlay the video.

Cherry UI Controls broken

On line 164 there is a special check for if the control class implements the I_UI interface.

On some environments and in case of any errors occurred, while running the class_implements function,
it will return an empty array or false and the code inside the if statement will be omitted. This behavior will lead to UI controls assets not being loaded.

Refactoring of the code required.

CC: @CherryFramework/developers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.