Cannot get the master page in "Edit" mode in Share point

Posted on 2009-12-23
Last Modified: 2012-05-08
I have customized my master page as per the need of the user.  When I go into site setting and select "Edit Page" it tells me that I am in edit mode but it does not give me the option to add or remove webparts. Any idea on why it would do that.
Question by:pratikshahse
    LVL 7

    Expert Comment

    One possibility is that the master page is missing some elements which are needed. I'm not sure how you created your custom master page, but I would recommend downloading a base master page (I've found Heather Solomon's to be excellent and make sure yours contains all the relevant elements.

    The other possibility is the page you are using with the master page. I'm not sure if you're using customised page layouts or custom aspx pages? Anyway, the pages/layouts need to have a web part zone added for you to then add web parts to the page. You can add multiple web part zones layed out within your markup as nessecary. You can add these within sharepoint designer by going to the place in your markup that you want to have the web part zone, go to the Insert menu, select Sharepoint Controls and then Web Part Zone. (if the option for web part zone is greyed out, save your file and then try again.)
    LVL 5

    Expert Comment

    I think your customized master page doesn't contains any WebPart Zone.
    So you can't add new webpart in edit mode.

    Author Comment

    it does not allow me to add web part zone. i get an error message saying that a web part zone cannot be added in a master page. is there a way whhere i can add a web part zone in my master page.
    LVL 7

    Accepted Solution

    No, you can't have the web part zone in the master page itself, you never edit the master page via sharepoint so you would never get the oppertunity to add web parts to it. The web part zone needs to go in your content page that is connected to the web part zone. Tyically your master page would just contain layout, style and branding etc. You would then define a ContentPlaceHolder in the part of the master page where you want your content pages to have a web part zone. Then in your content pages you add a web part zone for that content area.

    Alternately, if you really really need to define your web parts in your master page you can add them to the master page directly (i.e. not in a web part zone). In SharePoint Designer when you're editing the master page go to Insert->SharePoint Controls-Web Part. It will show the web part task pane on the right and you can drag and drop web parts into the design screen.
    LVL 19

    Expert Comment

    What Steven said is spot on, you should accept his answer, it contains all the information.
    I would advise against putting webparts in a masterpage, but it's of course all up to you.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
    There is one common problem that all we SharePoint developers share: custom solution deployment. This topic can't be covered fully in this short article, so all I want to do in this one is to review it from a development-to-operations perspectiv…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now