pageMash

This is a simple WordPress page management plugin. The Ajax interface allows you to drag-and-drop the pages into the order you like, modify the page structure by dragging a page to become a child or parent and toggle the page to be hidden from output.
I’ve made a simple example page so feel free to have a play around.

Features:

Screenshot:

pagemash_screenshot

downloadDownload

Recent posts on pageMash


11 Responses to “pageMash”

  1. No replies Thomas Bo Christensen:
    @Reply August 6th, 2008 at 1:23 pm

    Hi There. Does the plugin work with WP 2.6? This page http://wordpress.org/extend/plugins/pagemash/ tells me, that it’s Compatible up to: 2.5. I’m sorry, if that is true. Why? It’s a GREAT plugin!

  2. No replies Joel:
    @Reply August 6th, 2008 at 2:04 pm

    @Thomas Bo Christensen: Sure does and you’re right I need to update that.

  3. No replies Tobias:
    @Reply September 1st, 2008 at 9:08 am

    Hi,

    i’m expereancing a weird problem: The changes I make in my page order / lineup using your plugin (no matter, whether its order, position, name, show/hide) will not be saved.
    The plugin shows that red rectangle “database updated”, but my main page stays the same and when I click on the the “pageMash”-Tab in “Manage” again, all changes are gone.
    Seems like the AJAX-Saving is not working.

    I’m using the latest version of the plugin on WP 2.6.

    Thanks for any help!
    Tobias

  4. No replies Tobias:
    @Reply September 4th, 2008 at 11:15 am

    Hi,

    I found the solution:
    There seem to be 2 bugs:
    In pagemash.js (line 52) the Ajax-Call should be
    new Ajax(’/wp-content/plugins/pagemash/saveList.php’, {

    In saveList.php (line 18) not wp-config.php should be included, but wp-load.php (which checks for the correct path, because wp-config.php may have been moved out of the public accessible htdocs-folder (since WP 2.6)). Since wp-config.php will then load wp-settings.php itself, line 19 is no longer necessary and should be removed.

    After those fixes, saving works fine again and the plugin is actually usable again.
    Hopefully this will help others, too.
    And maybe Joel could release a fixed package of the plugin.

    Tobias

  5. No replies Joel:
    @Reply September 4th, 2008 at 11:20 am

    Thanks Tobias that really is a great help! I was just trying to get round to looking into it, but sounds like you’ve done the work.
    I will try update the download as soon as I get the chance.
    Cheers again, Joel.

  6. No replies Joel:
    @Reply September 4th, 2008 at 12:08 pm

    @Tobias: Just checked my diff, looks like I had already updated to using wp-load.php but hadn’t updated the repo yet.

    As for the ajax call (correct me if I’m wrong) but your way won’t work if WP is running in a subdirectory of a domain, which is why I was using a relative path.
    (and neither way will work if the user decides to move wp-content)

  7. No replies Tobias:
    @Reply September 5th, 2008 at 4:32 am

    Hi,

    yes, I guess the loading of wp-load.php is the more important bugfix. I actually stumbled about the whole thing, because I saw that saveList.php gave back a missing-file-error in the firebug-debug-console. That was because I had moved my wp-config.php up one directory, so that it is no longer accessible by direct call. Then I saw, that wp-config.php includes its own call of wp-settings.php, which of course had not moved. So all this lead to finding out that wp-load.php was the correct file to include, because it should always be in the main directory of the wordpress-installation.

    I’m not really sure if there is a problem with the ajax-call, it just looked weird to me that it had the “../” in front of the wp-content. But now I realize that the call comes from within the wp-admin-directory, which is on the same level as wp-content is. I previously thought the call would come from within the pagemash-plugin-directory, which is of course wrong. So the ../ is indeed correct and my first bug description is wrong. That way WP inside a subdirectory of the domain will work. The only problem would be a renamed wp-content-folder, as you correctly said. But I don’t no if there is a workaround for that because we are inside a java-script file. One possible way would be to make it a php-script which just returns the js-code with the correctly determined path.
    But thats probably overhead, as I believe there are not that many people yet with a renamed wp-content. So maybe a quick note in the installation instructions to adjust that line in the .js-file to the renamed wp-content-folder will be enough.

    Thanks for the quick bugfix release though!

    Tobias

  8. No replies Jean Bruno:
    @Reply September 15th, 2008 at 6:11 am

    Hi Tobias
    Thanks for this great plugin which worked fie until my 2.6.3 update. Here, the page on Back Office is right but it’s impossible to move the things on it. An idea ? (i’m not on a subfolder)
    Many, many thanks

  9. No replies Joel:
    @Reply September 15th, 2008 at 6:46 am

    @Jean Bruno: the latest stable release of WP is 2.6.2 is this what you meant?
    The problem is more likely to be an incompatibility with another plugin, try disabling your other plugins temporarily and see if pageMash will then work.

  10. No replies Greg:
    @Reply September 16th, 2008 at 2:39 pm

    What a FanTAStic plugin!!! Thank you so much. It’s a lifesaver for anybody managing a site with more than 20 or so pages.

    I only wish it’d replace the lame and unwieldy default Manage->Pages interface.

  11. No replies Joshua London » Blog Archive » Top WordPress Plugins I use:
    @Reply September 24th, 2008 at 7:02 am

    [...] Author: Joel Starnes Plugin URI: PageMash [...]



Leave a Reply

XHTML» permissible tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>