Plugin Directory

Changeset 765521


Ignore:
Timestamp:
09/01/2013 11:23:51 PM (12 years ago)
Author:
WordPressThemesShop
Message:

version 2.3

Location:
page-management/tags/2.2
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • page-management/tags/2.2/page-management-media.js

    r763909 r765521  
    33 * Plugin URI: http://www.wpshowcase.net/plugins/page-management-plugin/
    44 * Description: Page Management is a great tool which allows you to do loads of useful things including to hide/expand subpages when viewing the page hierarchy, to display all pages/posts on the same page, to reorder pages using drag and drop, to show the current page's media files by default and to add a shortcode dropdown of all the site's shortcodes.
    5  * Version: 2.0
     5 * Version: 2.3
    66 * Author: WPShowCase
    77 * Author URI: http://www.wpshowcase.net
     
    1010 *
    1111 * @package PageManagement
    12  * @version 2.1
     12 * @version 2.3
    1313 * @author WPShowCase <[email protected]>
    1414 * @copyright Copyright (c) 2013, WPShowCase.net
  • page-management/tags/2.2/page-management-shortcode-dropdown.js

    r763909 r765521  
    33 * Plugin URI: http://www.wpshowcase.net/plugins/page-management-plugin/
    44 * Description: Page Management is a great tool which allows you to do loads of useful things including to hide/expand subpages when viewing the page hierarchy, to display all pages/posts on the same page, to reorder pages using drag and drop, to show the current page's media files by default and to add a shortcode dropdown of all the site's shortcodes.
    5  * Version: 2.0
     5 * Version: 2.3
    66 * Author: WPShowCase
    77 * Author URI: http://www.wpshowcase.net
     
    1010 *
    1111 * @package PageManagement
    12  * @version 2.1
     12 * @version 2.3
    1313 * @author WPShowCase <[email protected]>
    1414 * @copyright Copyright (c) 2013, WPShowCase.net
  • page-management/tags/2.2/page-management.css

    r763909 r765521  
    33 * Plugin URI: http://www.wpshowcase.net/plugins/page-management-plugin/
    44 * Description: Page Management is a great tool which allows you to do loads of useful things including to hide/expand subpages when viewing the page hierarchy, to display all pages/posts on the same page, to reorder pages using drag and drop, to show the current page's media files by default and to add a shortcode dropdown of all the site's shortcodes.
    5  * Version: 2.0
     5 * Version: 2.3
    66 * Author: WPShowCase
    77 * Author URI: http://www.wpshowcase.net
     
    1010 *
    1111 * @package PageManagement
    12  * @version 2.1
     12 * @version 2.3
    1313 * @author WPShowCase <[email protected]>
    1414 * @copyright Copyright (c) 2013, WPShowCase.net
  • page-management/tags/2.2/page-management.js

    r763909 r765521  
    33 * Plugin URI: http://www.wpshowcase.net/plugins/page-management-plugin/
    44 * Description: Page Management is a great tool which allows you to do loads of useful things including to hide/expand subpages when viewing the page hierarchy, to display all pages/posts on the same page, to reorder pages using drag and drop, to show the current page's media files by default and to add a shortcode dropdown of all the site's shortcodes.
    5  * Version: 2.0
     5 * Version: 2.3
    66 * Author: WPShowCase
    77 * Author URI: http://www.wpshowcase.net
     
    1010 *
    1111 * @package PageManagement
    12  * @version 2.1
     12 * @version 2.3
    1313 * @author WPShowCase <[email protected]>
    1414 * @copyright Copyright (c) 2013, WPShowCase.net
     
    240240    $("body").on({
    241241        ajaxStart: function() {
    242             $(this).addClass("page-management-ajax");
     242            $('body').addClass("page-management-ajax");
    243243        },
    244         ajaxStop: function() {
    245             $(this).removeClass("page-management-ajax");
     244        ajaxComplete: function(event, xhr, settings) {
     245            var data = settings.data;
     246            if(data.indexOf('action=inline-save')>=0) {
     247                $('body').addClass("page-management-ajax");
     248                $('#the-list').css({'opacity':'0.5', 'filter':'alpha(opacity=50)'});
     249                jQuery.post(ajaxurl,
     250                {
     251                    'action': 'reload_editphp_table',
     252                    'query' : window.location.href.slice(window.location.href.indexOf('?') + 1)         
     253                }, function(response) {
     254                    $('#the-list').html(response);
     255                    $('.edit-php #the-list tr').each(function() {
     256                        addPageManagementToRow($(this), true);
     257                    });
     258                    if(page_management_settings.expandpages=='false') {
     259                        $('.edit-php #the-list tr[class*="parent-is-"]').each(function() {
     260                            $(this).hide(0);
     261                        });
     262                        $('.edit-php #the-list tr[class*="parent-is-0"]').each(function() {
     263                            $(this).show(0);
     264                        });
     265                    }
     266                    $('#the-list').css({'opacity':'1', 'filter':'alpha(opacity=100)'});
     267
     268                    });
     269            }
     270            $('body').removeClass("page-management-ajax");
    246271        }   
    247272    });
  • page-management/tags/2.2/page-management.php

    r763909 r765521  
    44 * Plugin URI: http://www.wpshowcase.net/plugins/page-management-plugin/
    55 * Description: Page Management is a great tool which allows you to do loads of useful things including to hide/expand subpages when viewing the page hierarchy, to display all pages/posts on the same page, to reorder pages using drag and drop, to show the current page's media files by default and to add a shortcode dropdown of all the site's shortcodes.
    6  * Version: 2.2
     6 * Version: 2.3
    77 * Author: WPShowCase
    88 * Author URI: http://www.wpshowcase.net
     
    1111 *
    1212 * @package PageManagement
    13  * @version 2.2
     13 * @version 2.3
    1414 * @author WPShowCase <[email protected]>
    1515 * @copyright Copyright (c) 2013, WPShowCase.net
     
    4444        add_filter('edit_posts_per_page', array($this, 'page_management_posts_per_page'));
    4545        add_action('wp_ajax_update_post_position', array($this, 'ajax_update_post_position'));
     46        add_action('wp_ajax_reload_editphp_table', array($this, 'reloadEditPhpTable'));
    4647        $plugin = plugin_basename(__FILE__);       
    4748        add_filter("plugin_action_links_$plugin", array($this,'page_management_link') ); 
     
    9394            $postToUpdate->menu_order=1;
    9495        wp_update_post( $postToUpdate );
    95        
     96
     97        $this->reloadEditPhpTable();
     98        die();
     99    }
     100   
     101    function reloadEditPhpTable() {
     102        define('WP_USE_THEMES', false);
     103        require_once( ABSPATH  . 'wp-load.php' );
     104        global $wpdb;
     105
    96106        global $wp_list_table;
    97107        $args = wp_parse_args($_POST['query'], array('paged' => 1, 'orderby' => 'menu_order title', 'order' => 'ASC'));
     
    115125        $wp_list_table->hierarchical_display = true;
    116126        $wp_list_table->display_rows( $_query->get_posts(), 0 );
    117         die();
    118127    }
    119128
  • page-management/tags/2.2/readme.txt

    r765229 r765521  
    88License: GPLv2 or later, Copyright (c) WPShowCase 2013
    99
    10 Page Management makes page admin simple with loads a great features including drag and drop ordering and options to show/hide pages.
     10Easily reorder pages and edit page hierarchy using drag-and-drop. Expand/hide subpages and view infinite number of pages/posts at same time.
    1111
    1212== Description ==
     
    1414Page Management is a plugin that allows a sites' pages to be managed easily. "Page Management" allows admin users to:
    1515<ul>
    16 <li>Reorder pages using "drag and drop".</li>
    17 <li>Choose the number of pages that the author can see at the same time so that the author can see all the site's pages at the same time.</li>
    18 <li>Allow authors to hide subpages so they can see the pages more easily.</li>
     16<li>Reorder pages and edit the page hierarchy using "drag and drop".</li>
     17<li>View all the sites posts or pages on the same page.</li>
     18<li>Allow admin users to hide subpages so they can see the pages more easily.</li>
    1919<li>Creates an option to change the default view "Uploaded to this Post" in the media manager (making pictures/photos/images easier to find).</li>
    2020<li>Creates an option to add a shortcode dropdown to Tiny MCE (so you can select your site's shortcodes from a dropdown).</li>
    2121</ul>
    2222
    23 Page Management has more great options:
    24 <ul>
    25 <li>You can choose to hide subpages by default (so you can see the main pages of your site).</li>
    26 <li>Remove pagination from the pages/posts editing pages - so you can see all the posts or pages at the same time. This makes reordering the pages using the "drag and drop" feature much easier.</li>
    27 </ul>
    28 
    2923Page Management hides the subpages when a page is being dragged. This means that you can't break the pagination by dragging
    3024a page onto one of its subpages and that moving a page with several levels of subpages is easy.
     25
     26Page Management checks whether the admin user has edit page permission to only allow appropriate users to reorder pages.
    3127
    3228Page Management's page reordering is fully hierarchical. You can drag pages between different levels.
     
    3935</ul>
    4036
    41 The shortcode dropdown displays all the shortcodes available - the site's active theme and all its plugins. It is not restricted to a set of shortcodes defined by this plugin.
     37Page Management also adds a shortcode dropdown with the site's active theme and all its plugins. It is not restricted to a set of shortcodes defined by this plugin.
    4238
    4339It allows shortcodes to be selected from a dropdown menu in the rich text editor for pages and posts. This is really useful because:
     
    5349you'd like to use.
    5450
     51To install manually:
     521. Download page-management.zip.
     532. Unzip.
     543. Upload page-management directory your /wp-content/plugins directory.
     554. Go to the plugin management page and activate the plugin.
     565. Configure the options on the settings page.
     57
    5558== Screenshots ==
    5659
     
    6568Please contact the author who can fix any errors.
    6669
     70= Why would I want to use this plugin? =
     71
     72This plugin allows you to manage the order of your pages easily and to rearrannge the page hierarchy. This plugin has extra features
     73like being able to make the media files uploaded to a post the default in the post media view and adding a shortcode dropdown to
     74the text editor.
     75
     76= I like the plugin and have ideas to improve it =
     77
     78Please contact the author with any ideas on how to improve it. If you like the plugin, please tell other Wordpress users about
     79it by rating it as fantastic.
     80
     81= All the pages are either expanded or not expanded. Is it possible to expand to a certain level? =
     82
     83This is not currently a feature however this plugin is under continual development.
     84
     85= My editor doesn't work properly when I enable the shortcode dropdown =
     86
     87Please disable this feature.
     88
    6789== Changelog ==
     90
     91= 2.3 =
     92* Made plugin work with inline save.
    6893
    6994= 2.2 =
Note: See TracChangeset for help on using the changeset viewer.