Skip to content

MarceloPedra/css-javascript-toolbox-plugin

 
 

Repository files navigation

=== CSS & JavaScript Toolbox ===
Contributors: wipeoutmedia
Author URL: http://css-javascript-toolbox.com
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=EWDWF75JHT9Q6
Tags: post, posts, admin, sidebar, page, pages, widget, image, shortcode, plugin, google, customise, style, scripts, hack, Wordpress, HTML, CSS, JavaScript, HTML5, jQuery, PHP, code, script, scripts, manage, management, display, output, header, footer, apply, requests, match, hook, execute, run
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Requires at least: 3.9
Tested up to: 4.1
Stable tag: 8.0.3

Easily add custom CSS, JavaScript, HTML and PHP code to unique CJT code blocks and assign them wherever you want.

== Description ==
= We need your support =
Your purchase of CJTe Developer will assist us in the continued development of all CJT plugins on WordPress.org.

This project is 100% developed and maintained by only two people since the very start in August 2011. We have plenty of [feature ideas that we want to include](http://css-javascript-toolbox.com/development/request), and this can only be possible with funding.

If you would like to learn more about the additional benefits, please click: [CJTe Developer](http://css-javascript-toolbox.com/cjte-developer).

= About =
CSS & JavaScript Toolbox (or CJT) is a powerful code management plugin that gives you the tools to easily and safely modify or extend the functionality and appearance of your WordPress-powered website.

= Perfect for WordPress website development =
Whether it be adding free/premium scripts, creating and testing new scripts, streamlining development work, making front-end customisations, or even teaching and learning WordPress – CJT is extremely flexible and versatile.

= How does it work? =
Since CJT was designed to be easy, adding scripts and styles can be done in as little as two steps.

- adding your code directly into unique CJT code blocks
- assigning where these code blocks go

CJT code blocks can be assigned to pages, posts, custom posts, categories, URLs, expressions, and practically anywhere you want on your website. Code block shortcodes can also provide you with further placement accuracy.

= Want more features for free? =
Get CJT extension plugins that provide more features such as:

- [Advanced Theme Editor](https://wordpress.org/plugins/cjte-advanced-theme-editor)
- [Advanced Plugins Editor](https://wordpress.org/plugins/cjte-advanced-plugins-editor)
- [WP Core Editor](https://wordpress.org/plugins/cjte-wp-core-editor)

= Want to add script plugins? =
Get script plugins that can be installed on your website running CJT:

- [Image Zoomer](https://wordpress.org/plugins/cjte-image-zoomer/)
- [Black & White Image Effect](https://wordpress.org/plugins/cjte-black-white-image-effect/)

= Support Us =
Thank you for your interest in CSS & JavaScript Toolbox. 
Please support us by:

- Joining in with the voting and discussion on [new CJT feature ideas](http://css-javascript-toolbox.com/development/request).
- Providing a [feedback review and rating](http://wordpress.org/support/view/plugin-reviews/css-javascript-toolbox) on WordPress.org
- Spreading the word and recommending CJT to others.

= Follow the Developments =
If you like to know more about the development state, issues and to track future versions code please follow us on [GitHub Plugin repository](https://github.com/css-javascript-toolbox/css-javascript-toolbox-plugin).

== Installation ==
1. If you're upgrading from older versions its highly recommended to backup your database before upgrading.
2. Upload the 'css-javascript-toolbox' folder to the '/wp-content/plugins/' directory
3. Activate the plugin through the 'Plugins' menu in WordPress
4. Click 'CSS & JavaScript Toolbox' link in the main navigation (left side of your Dashboard).

== Frequently Asked Questions ==
= Why was the CJT plugin developed and what is it used for? =
The CJT plugin was created to help website authors write their own code. The plugin allows you to contribute to your Wordpress installation code via a simple web interface, where you can modify and extend the functionality and appearance of your website by writing code directly into CJT code blocks. A typical example of using the plugin can include changing the the way a specific Wordpress page is displayed, or making a page more interactive by adding some JavaScript (Dynamic HTML).

= What is a CJT 'code block'? =
The CJT code block is the basic unit for writing code and to associate it with specific Wordpress requests.

= What is the Assignment Panel? =
The Assignment Panel is a tabs window, which appears on the right side of the code block editor and is used to assign/apply the code block into specific requests.

= Can you select more than one item from the Assignment Panel? = 
Yes. You can select any number of items you need, there is no limitation regarding this.

= Can you assign multiple blocks to the same items from the Assignment Panel? =
Yes. It's one of the most useful features that CJT supports as it allows you to manage/split your codes into several code blocks, allowing you to override code in a former (or lower ordered) code block.

= What is Pages, Posts, Categories and Custom Posts tabs? =
These lists with checkboxes represent all of your WordPress Pages, Posts, Categories and Custom Posts that your entire website contains.  It also supports subpages and sub-categories, which you will also find in there. 

= What is the Auxiliary tab? =
As there are a number of requests that are not available as normal Wordpress items (e.g. Pages, Posts, etc) but since it's commonly required and most likely be used, you will find them pre-defined in the Auxiliary tab. In the Auxiliary tab you can find pages like: Home, Blog Index, Author, 404 error, Tag, Archive, Entire website, Front-end, Admin backend and much more!

= Is it better to use the URLs tab, or select items if found through other tabs?  =
Pages, Posts, Custom Posts and Categories tabs are created to simplify the assignment process for all types of users. Using URLs is great for fast performance as it requires less time to evaluate/identify the request! However, not all things can be done through the URLs tab.  For example, applying a single block to a Category index page and all its sub-categories.

= What is the Advanced Expressions tab? =
The Advanced Expression tab allows you to fully control what requests to integrate into the code block by using Regular Expressions. In other words, allowing CJT users to define more requests to assign the code block to.

= Can I move the blocks around? =
Yes by hovering your mouse cursor over the code block title bar until it turns into a four-sided arrow, this allow you to move the blocks.  Clicking the block title bar allows you to open and close the blocks.

= Is block saved after I click 'Create' in 'Create New Code Block' form? =
Yes. The block is created and saved in your database. In order to discard the block, you have to delete it.

= Is block orders immediately saved after drag-and-drop block box?  =
No. In order to save blocks order you need to press 'Save All Changes' button.

= Is block immediately deleted after removed from the blocks list page? =
No. After delete block you need to click 'Save All Changes' button.

= I'm using the URLs tab and my code is not working? =
Make sure you have copied and pasted the Page, Post, or Category URL exactly as it appears in the address bar.  For example, you may have inadvertently included an extra forward slash at the end of your URL.

= Why use the Footer switch in Location/Hook? =
Hook location feature gives you control over the location of outputting the CSS/JS code. This is useful in case overriding another plugins' CSS is required. Also sometimes its better to put your JS code in the footer to avoid slowing down your page load.

= I received a weird error, what do I do now? =
Due to the overwhelming amount of emails we get for users requesting support for our CJT plugins, we cannot provide support for the CJT Free plugin (hosted here on WordPress.org) at this stage unfortunately. If you wish to receive priority support, please visit our CJT website and [purchase a license for any of our products](http://css-javascript-toolbox.com/pricing).

== Screenshots ==

1. Add your code, then assign where it goes
2. Create New Code Block dialog box
3. Master Admin Toolbar at top, and minimised Code Blocks below
4. Change editor language for syntax highlighting and error checking
5. Assigning WordPress Pages and sub-pages
6. Assigning WordPress Posts
7. Assigning Custom Posts
8. Assigning Categories and sub-categories
9. Auxiliary Assignments
10. Advanced Assignments (URLs and Regular Expressions)
11. Change State batch tools
12. Change Location/Hook batch tools
13. Delete and Backup Tools
14. Code-Files management form (within each Code Block)
15. Templates Manager form to store all of your Code Templates
16. Templates Lookup form to embed or link Code Templates to Code Blocks
17. Insert Code Block shortcodes via TinyMCE button
18. Metabox Code Block at the Edit Page/Post level
19. Create backups of all your existing Code Blocks
20. Create/Restore Code Block revisions
21. See Code Block information at a glance

== Changelog ==
= 8.0.3 =
* Add support us link to Dashboard metabpx
* Add support us link to CJT header

= 8.0.2 =
* Remove: CJT License Setup form as CJT is now 100% FREE.
* Fix: Multi site CJT Network Extensions is not loaded.

= 8.0.1 =
* Fix: Fresh installer stopped when 'Adding Wordpress built-in scripts and styles as CJT Templates'
* Fix: Dashboard metabox notices when CJT is not yet installed

= 8.0 =
* Show premium extensions list in Dashboard Widget instead of Scripts Packages
* Framework update that makes CJT functionality more extendable
* Remove: Editor Toolbox Buttons and Block File, Edit and View menu as it now presented in separated extension
* Remove: Editor Themes Switcher list as it now presented in separated extension
* Remove: Import and Export Tools as it not presented in separated extension
* Fix: Conflict with other themes like X Theme

= 7.2 =
* Fix: Block Code file name moving away when open/close Block metabox
* Fix: Shortcode list is too small for Shortcode names
* Enhance: CJT Framework for packages and extensions updates

= 7.1.2 =
* Enhance: Show Latest News on Dashboard Widget

= 7.1.1 =
* Enhance: Add Statistics Dashboard Widget that shows few useful fields.

= 7.1 =
* Enhance: Processing and Memory optimization for better performance.
* Enhance: Block Box Themes Support.
* Enhance: 32 Themes is now supported to be applied for the whole block box.
* Enhance: Applying theme per browser. Allow for assigning appropriate theme for different devices.
* Enhance: Assigned/All mode switchers for assignment panel list. You can show all items even not selected ones or show only assigned to the block.
* Enhance: Bullet-Proof Assignment Panel layout so it would always reserved even if another Plugin wrongly load jQuery TABS/ACCORDION Styles.
* Enahnce: General UI enhancements.
* Enahnce: Code editor updates.
* Enhance: Turns CJT Block into a tiny Project that host Multiple "Managed" Code-Files instead of just one.
* Enhance: No need to create a Block for each Language Type and assign them to the same Wordpress Page. One Block with Multiple Code Files solved that by creating only one Block for each assgined request.
* Enhance: Code Files Support Language Type, Code, Description and TAG fields.
* Enhance: Write Design-Time Organized Code by separating them into code-files (JS, CSS, PHP, HTML) and CJT will merge them all at run-time.
* Enhance: There is no need to write <script>, <style> or <?php ?> tags when writing Javascript, CSS or PHP Codes. Code File assigned language would take care of that.
* Enhance: Control/Modify auto-added <script>, <style> or <?php ?> TAGS by modifying Code File TAG field.
* Enhance: Automatically Change Code Editor language to currently active Code File language.
* Enhance: Manage Code Files without leaving the Block Page.
* Enhance: Block revision is now created based on the Current Active Code File. Therefore each Code File has its owen revisions.
* Enhance: Its now possible for multiple Authors to work on the same Block by creating Multiple Code-Files.
* Enhance: Add Multiple Code Files to CJT Packages.
* Enhance: Block File, Edit and View Menus.
* Enhance: 'Load Local', 'Load Url' and 'Reload' to load Block Code from Local File, Url and Reload From Server respectively.
* Enhance: Save/Download Block Current Active Code File.
* Enhance: Undo, Redo, Find, Find Next, Find Previous, Replace, Goto Line, Goto Line Up, GoTo Line Down, GoTo Next Error, GoTo Previous Error, Fold, Fold All, UnFold, UnFold All, To Lower Case and To Upper Case Edit Menu functions added.
* Enhance: 'Settings' Edit Menu item for Fully Customize Code Editor Fonts, Show/Hide Print Margine, Keybinding Methods, Show/Hide Scroll, Scroll Speed, Readonly, Show/Hide Gutter, TAB Size, New Line Mode and much more!
* Enhance: Show/Hide StatusBar via View StatusBar Menu.
* Enhance: CJT Website is now support Full documentation Tutorials that expose many internal features/possibilities that can be achived by CJT.
* Enhance: Code Blocks disappeared after upgrading to Wordpress 3.9 and sever running PHP >= 5.5.
* Enhance: Packages Management System (BETA)
* Enhance: Define Shortcode Parameters by creating package and input their values from the CJT Shortcode Parameters form.

= 6.1.5 =
* Enhance: Editor enhancements and updates.
* Enhance: Framework updates (Allow installing New CAC extension).
* Fix: Safari Browser pagination icon position.

= 6.1.4 =
* Fix: Assignment Panel Pagination Icon position fixed for Safari browsers.
* Remove: New Block Form Activate, Location Hook and Initial position fields.
* Remove: Block Revisions.
* Remove: Blocks Backup and Restore.
* Remove: Assignment Panel Select-Childs Checkboxes.
* Remove: Minimize and Mazimize All.
* Remove: Batch Process (Delete All and Delete Empty).
* Remove: Output Location Switch (Header and Footer).
* Remove: State Switch (Activate, Deactivate and Invert).
* Remove: Shortcode TinyMCE button (Community users has to write Shortcode manually).
* Remove: Don't load more assignment objects by scroll (Community users has to use the pagination list).

= 6.1.3 =
* Enhance: UI Compatibility with Wordpress >= 3.8.
* Deprecated: New Block Form Activate, Location Hook and Initial position fields.
* Deprecated: Block Revisions.
* Deprecated: Blocks Backup and Restore.
* Deprecated: Assignment Panel Select-Childs Checkboxes.
* Deprecated: Minimize and Mazimize All.
* Deprecated: Batch Process (Delete All and Delete Empty).
* Deprecated: Output Location Switch (Header and Footer).
* Deprecated: State Switch (Activate, Deactivate and Invert).
* Deprecated: Shortcode TinyMCE button (Community users has to write Shortcode manually).
* Deprecated: Don't load more assignment objects by scroll (Community users has to use the pagination list).

= 6.1.2 =
* Fix: Break Wordpress frontend page pagination by issuing 301 redirect.

= 6.1.1 =
* Fix: Validate block name when editing and adding blocks.
* Fix: Code Blocks is not being applied on WPEngine servers and other servers related to the MYSQL query error.
* Fix: Load block code one time after its first time opened as it was loaded every time the block is opened.
* Enhance: Show User-PHP code errors only when WP_DEBUG is set to TRUE.
* Enhance: Auto-Size edit-block-name text field to fit the current block-name, therefor display the name without the need of moving the cursor to the end.
* Enhance: Disable new-block form fields while saving prevent user from duplicating block when traffic is slow.

= 6.1 =
* Enhance: Initially don't load Block assignment panel items: Speed up Blocks page loading time when its initially opened, also affect the browser performance as the items is not loaded or rendered before its required.
* Enhance: Initially don't load Block code for the closed/minimised Blocks: Loading those Blocks will be done through AJAX once the Block is opened by user.
* Enhance: The ability to 'Cancel' revision mode and get back to the normal mode without refreshing the whole page.
* Update: Animate Block 'Save' button for not-saved Blocks.
* Update: The Assignment-Panel is now Loads the assigned items only when enter the revision and backup modes.
* Update: Set assignment-Panel Advanced-TAB as the default active TAB.
* Add: Few helper links to the CJT official website at the top of the Blocks page.
* Fix: Block 'Save' and 'Save All Changes' buttons are stay enabled after updating Block Assignment-Panel items and revert them back again. The buttons is enabled even if the Block content has not been changed.

= 6.0.15 =
* Enhance: Uninstaller is now configurable so that admin can specify is to wipeout the data or not! This is really great for manual upgrade to the PE versions!

= 6.0.14 =
* Add: Accept Shortcode parameters and segments. Provide PHP framework for code blocks to define, validate and reading Shortcode parameters.
* Add: Allow using block 'name' in additional to 'id' when using Shortcodes.
* Fix: Failed to work with non-ascii (e.g Arabic) characters.
* Enhance: Viewing block info is now showing Shortcode using block 'name' instead of 'id'.
* Enhance: Embedded Shortcode with its closing tag as the Shortcode content is now being used by the handler blocks.
* Enhance: Revert block Shortcode 'force' parameter default value to 'true' therefore allow using multiple Shortcode for the same block without setting 'force' attribute.

= 6.0.13 =
* Fix: CJT hijacks Plugins page after activate or deactivate a Plugin.

= 6.0.12 =
* Fix: PHP code is not getting evaluated when CJT code Block delegated using Shortcode.

= 6.0.11 =
* Fix:  Add ACE Editor PHP Worker as it was missing.
* Enhancement: List only Public Custom Posts that can be accessed through Wordpress URL under Assignment Panel Custom Posts Tab. Therefor enhance performance for sites that has 'Log' custom post that might has hundreds or records read for every code block.

= 6.0.9 =
* Enhancement: Suppress PHP errors displayed under STRICT PHP configuration like PHP >= 5.4.x and therefor boost performance, increase result and security reliability!
* Fix: Installer operations state is cleared after the install/upgrade is interrupted, cause the repeats/re-executes of the install/upgrade operations.

= 6.0.7 =
* Fix: textarea HTML tag break down CJT Block code.

= 6.0.6 =
* Fix: Conflict with other Plugins!
* Fix: Javascript exception thrown when dismissing the install/upgrade notice.
* Enhancement: Disallow (with user notice) upgrade/downgrade if the target version is not being supported, therefor saving user data!
* Enhancement: Don't break down the site if manual upgrade/downgrade process is uncompleted! Allow user to revert back manually or disable the Plugin.
* Enhancement: E_ALL complain! Suppress all notices when WP_DEBUG set to true, allow better development, fast performance and error handling.

= 6.0 =
* Core code is 100% re-written for optimum performance and future enhancements, and is 100% based on MVC (Model–view–controller) design.
* 100% Using Web 2.0
* Applying code blocks to the requests are now enhanced to boost performance.
* The ability of interacting with admin pages too - not only the website side as in the previous versions.
* Light-weight and smart user-interface.
* Multiple operations can be executed at a time! For example, you can work on a code block while another block(s) is saving.
* Code block data is automatically revisioned after saving.
* Hot Key added for saving code block.
* Empty blocks can now exist.
* Interaction with each code block from a simple smart graphical Toolbox using Web 2.0
* Delegate code block using Shortcodes. You can do that manually or through CJT smart TinyMCE dropdown list button.
* Integrate ACE Editor to provide syntax highlighting and correction while writing codes!
* Syntax highlighting for 4 languages: CSS, HTML, JavaScript and PHP.
* Entire plugin is now extensible! CJT supports installed extensions to extend or enhance its features.
* Batch operations (Toggling On and Off, Activate, Deactivate and Revert states, Delete empty and Delete all) toolbox allow for batch update of all code blocks.
* Rename and save code block name.
* You can now save multiple backups.
* Activate and Deactivate code blocks feature.
* Fix: blocks order was correctly displayed from the admin side, but had no effect while applying blocks to the website side.
* Templates system is totally removed and will be presented with many enhancements via a separate extension.
* Allow assigning code blocks to Posts and Custom Posts.
* Apply 'Category' block to all the child posts (or sub-posts) within that category.
* Assignment Panel smart feature to assist while working with hierarchical items (sub-pages, sub-categories, etc).
* Auxiliary tab has been added to the Assignment Panel in order to organise all the predefined items (or requests) under a single tab.
* Moved and added: 'Front Page', 'All Pages' and 'All Posts' predefined items to appear under the Auxiliary tab.
* Newly defined: Blog Index, All Categories, Recent Posts, Entire Website, Website Backend, Search Pages, All Archives, Tag Archives, Author Archives, Attachment Pages and 404 Error, which are listed under the Auxiliary tab.
* Support of regular expressions for defining code block Point-To-Hook
* Security enhancements, only administrators can execute CJT backend operations.
* Each block has an Information metabox (Author, created date, modification date, and Shortcode).
* Create new block with initial properties (state, name and position).
* Internal error detection routine for detecting Ajax errors that may have happened away from users view.
* There is an extensive CJT User Manual PDF file attached in the /docs folder.  You can also download this file through the website - click for [CJT Free User Manual](http://css-javascript-toolbox.com/css-javascript-toolbox-free)
* Use of a separated Dashboard item to embrace all CJT plugin pages.
* Added separate installer and upgrade pages for both CJT v0.3 and v0.8 to allow watching of the installation processes.
* Added an uninstaller to completely erase all CJT data from the system.
* 100% tested and working with BPS (BulletProof Security) plugin, after applying [simple Ajax bypass rule](http://css-javascript-toolbox.com/support/topic/bulletproof-security-ajax-issue-and-resolution-2)

= 0.8 =
* Modifying template code.
* Header and footer hooks support so you can select which hook to output CSS/JS code.
* Code blocks can be reordered.
* Code blocks can now be given names that can be edited and saved.
* New icons and improved UI.
* Multilingual support: Only English translation is shipped with this version.
* Style overriding: code blocks order will allow any higher-positioned blocks style syntax to override lower-positioned blocks style syntax.
* Embedded Scripts: Embedded WordPress or Scripts that are shipped out with CJToolbox plugin by just checking them.
* Backup and Restore blocks data.
* Bug Fix: New code blocks are not toggling unless the page is refreshed.
* Bug Fix: CSS/JS template extra slash character problem.
* Bug Fix: Code block deletion issues.
* Bug Fix: Code is not applied to the URL list except the last URL.
* Bug Fix: Cannot use string offset as array error.
* Bug Fix: Invalid argument supplied foreach() error.

= 0.3 =
* This is the very first release.

== Credits ==
	
Copyright © 2013, Wipeout Media.

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

About

CSS & Javascript Toolbox Wordpress Plugin Community Edition

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 68.0%
  • JavaScript 27.3%
  • CSS 4.1%
  • HTML 0.6%