Master Page Dev – Exit Edit Mode – How can I get it back?

I created a simple master page with the site actions link; everything looked fine when I previewed my pages, however, when I
click to edit the page the ‘exit edit mode’ link is not displayed.

This is a common fault with the Microsoft and Heather Solomon Minimal Master Pages.  If you use these, the Exit Edit Mode console call is missing.

The problem is caused by the WSSDesignConsole control.  This control would normally look like this in your master page:

   

This will give you the little toolbar with the exit edit mode link, but the problem is caused by the HTML that this little guy renders. It was designed to fit within a default SharePoint master page, with its HTML around it in all the tables based glory that it is. So what they did here is to start the edit toolbar with a

tag instead of its own

tag – Hence the havoc that you will see on the page when you put this one on if your tables are different to those in a standard MS master page, or you have a non tables based layout. The solution is simple though, just put the thing inside a

tag, like so:

   

And just like that your problems are solved. Now you can also set some properties of the table, like a border, width, height, or whatever else you want. An easy fix for an annoying problem.

Advertisements

One thought on “Master Page Dev – Exit Edit Mode – How can I get it back?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s