Determine if a SharePoint Publishing Page Is in Design Mode (Edit Mode) with Script

Today I was working on some script for the home page of a SharePoint 2013 site which added the jQueryUI accordion behaviour to all of the Web Parts within a Web Part Zone. When I went into edit mode, it was pretty frustrating to have the accorsdions kick in, so I looked around for a way…

Editing Pages Based on Page Layouts When You Don’t Have Access to the Page Layouts Themselves

Page layouts are great functionality that comes along with the Publishing Infrastructure in MOSS.  They allow you to enforce a consistent structure and even consistent content in pages which you allow your users to create. However, sometimes (due to the powers that be), you may have access to a site with pages based on page…