Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I need to customize which layouts appeared in the dropwdown of the ribbon under the button of Page Layout.

This is because not every page is compatible with any layout and we want to avoid the user to make a mistake there.

Do you know any way i can perform this?

Thanks a lot !

share|improve this question
add comment

2 Answers 2

I don't think you can overwrite that functionality. What you can do instead is maybe create a new custom Application Page to select master pages and page layouts, create an action menu for that page so that it displays in Site Settings, and using CSS or JavaScript hide the default link in the SiteSettings page.

I don't know if that makes sense or not, but that would give you full control over what displays and what doesn't.

share|improve this answer
    
Yes, absolutely but i did not create a new app page. I'm modifying this dinamically with JS and Jquery. –  Esequiel Jul 27 '12 at 15:20
add comment

Are the options inside http:///_Layouts/AreaTemplateSettings.aspx insufficient for your needs? You can limit the page layouts that appear on a site by site basis in there.

share|improve this answer
    
In our application we have several layouts and not all of them should be enough for all pages. I need to restrict which layouts appear depending on the page i'm in. –  Esequiel Jul 25 '12 at 12:10
    
Is this a content type issue or web part zone naming issue? –  thastark Jul 26 '12 at 5:28
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.