=== Plugin Name === Contributors: Grandy Donate link: http://example.com/ Tags: cms, editing, frontend, content editable Requires at least: 3.6 Tested up to: 4.2.2 Stable tag: 0.6.7 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html This plugin allows you to create modular contents and to edit them from the frontent of your site. == Description == This plugin allows you to create modular contents and to edit them from the frontent of your site. == Installation == Here's how to install the plugin: 1. Upload 'gdy-modular-content' to the '/wp-content/plugins/' directory 1. Activate the plugin through the 'Plugins' menu in WordPress 1. Place `` in your index.php, single.php ... 1. Create a 'modules' folder in your theme directory Here's how to create modules: 1. For creating a module place a folder named like 'my_example_module' in your modules folder 1. In your modules folder the following files are used index.php, functions.php and thumb.svg 1. Create editable contents with `` Please visit our [website](http://wordpress.org/) for more information about creating editable contents. == Frequently Asked Questions == = The plugin is not working as excepted = Make sure you use ``, `` and ``. Also make sure all you WordPress Loops are properly closed. = There seems to be errors with WordPress Loops in modules placed on single posts = Make sure the Loops in your module doesn't modify global variables because that would cause problems like that. Best way is to only use `` for loops inside your modules. == Screenshots == 1. Create and place modules very easy. 1. Edit your contents directly from the frontend. == Changelog == = 0.6.7 = * Fixed a undefined variable * Styling for warning if module folder doesn't exist * Warning if there are no modules (aka folders in module folder) * Fixed a initialisation problem with jcrop when images take too long to load * Added build number for better version control * Added soft user role support for gdymc (edit_pages, upload_files) * Added visual feedback for uploads * Small bugfixes for the uploader * Changed upload response (cause wordpress can't generate thumbnails of very big files and so the upload can be incomplete) * Changed frontend media manager loop to a more stable version (same problem as above) * Added support for new option types: textarea, editable * Fixed bug with undefined variables in link window = 0.6.6 = * Better styling for editable table UI * Image overlay is now infinite scrolling * Smaller image thumbs * Better ajax loading feedback * Integrated a search function for images * Fixed bug with wrong editable style in preview mode * Fixed bug with SVG files causing problems in image window * The plugin now supports contents outside the module area * `` supports now an array of IDs as parameter * Contents are now swappable via button * Fixed some IE bugs * Visual feedback for image search * Support for timed visibility switch * Fixed CSS heights for option inputs * Moved javascripts into page footer for faster loading * Fixed batch window formatting * Added check if object exists on moving modules * Changed the way the plugin gets the post/page id so it works with uncommon url rewrites * Changed the hook for gathering module functions because of the changed get_object_id * New terminology: `` is now $gdymc_object_id * New terminology: `` is now `` * New terminology: `` is now `` * New terminology: `` is now `` * Added readme.txt and removed changelog.txt * Added screenshots = 0.6.5 = * New styles * Changed gdy_modularContent into gdymc (classes, functions, variables) * Changed some classnames * Removed module generator * Added type attribute to module container * Added module bars * New visibility tab in module options overlay * Changed gdymc_barbuttonsleft to gdymc_adminbarbuttons_left * Changed gdymc_barbuttonsright to gdymc_adminbarbuttons_right * Removed and renamed several functions * Delete module is now an AJAX action * Add module is now an AJAX action * Removed all nopriv ajax action hooks * Included rangy for working with text selections (especially for setting links) * Changed format buttons to onmousedown to preserve focus correctly * Imagelist now reads image size from attachment meta and not via getimagesize() * Fixed bug with saving and deleting modules * Module information are now accessible via $module in the modules index.php * Changed the way module moving works * Some adjustments with cropping * Changed ajax variable * Changed javascript script.js to gdymc_core.js * Added error windows to replace browser alerts * Implemented a new way for handling translated strings in javascript * After saving and deleting modules the scroll position is restored * Lazy way of using option defaults * Fixed focus problem with link shortcut and bug with setting _blank links * Styled error if unsaved contents exists when adding modules * Modulbar buttons have now own actions * Added batch actions for modules * Better error windows for unsaved contents * Removed content type option (now options are available via optionCreate() etc.) * Added support for new content type table = 0.6.4 = * Styling fixes & adjustments * Added object id parameter for gdymc option functions * Changed class prefix to gdymc_ instead of gdy_modularContent_ * Fixed tab behaviour * New styles for buttons * Added post edit link in wpmenu = 0.6.3 = * Styling fixes * The dashboard button has now a submenu * Logout now directly redirects back to frontpage * Added several hooks * Changed `` to `` * Changed hooks * Heavily changed the way how module options work * Added ``, ``, ``, ``, `` and `` * Added postmeta for visibility (on upgrade all modules are invisible) * Better moving of modules * Fixed bug with loading module functions.php * Fixed bug with repost after saving what causes to add modules multiple times * Changed deletion routine of modules * Fixed bug with `` * Changed saving process = 0.6.2 = * Styling fixes * Stability fixes * Visual feedback for texts that are too long * Actual feedback for long texts * Implementation for module search * Added the Generator * Fixed bug with info modal positions * Changed modulebars from static to absolute to prevent an offset change when switching to edit and back * Added support for module functions.php * Fixed z-index bug with editable images = 0.6.1 = * Styling fixes * Modals on text and image elements * Cleaner file structure * Option to set maximum text length * Better content creation logic allow a unordered use of the `` function * The `` function allows numeric IDs * Textual post and page creation dates in the link window * Updated admin link in the bar * Added a "this content is unsaved" warning * New `` function to check if users are logged * Security fix that removed the option to add and delete modules whithout being logged * Added a `` function to check if there is content for unlogged users (to hide certain elements e.g. empty containers) == Upgrade Notice == = 0.6.4 = * There is no backward compatibility for older module options.