How can i open an existing sharepoint 2010 page (like for example EditForm.aspx) but without the master page (without the menus on top and the Links on the left) (exactly like if i open it with IsDlg=1, but i don't want it a dialogbox).
Thanks.
|
How can i open an existing sharepoint 2010 page (like for example EditForm.aspx) but without the master page (without the menus on top and the Links on the left) (exactly like if i open it with IsDlg=1, but i don't want it a dialogbox). Thanks. |
|||
|
|
|
You can set the master page to be a basic master page such as minimal.master instead of the v4.master page. (I think there is also one called basic.master or base.master for dialog boxes, although I couldn't find it!). Normally the dialog box would use the normal v4.master and use CSS to hide the unwanted elements, which have the CSS class "s4-notdlg". So another way, if you want to use v4.master, is to make sure you have a CSS rule for s4-notdlg that makes it visibility:none. |
|||
|
|
|
Just append IsDlg=1 to your URL. The open in dialog is not controlled by the IsDlg=1 parameter. To avoid opening the edit/view form of a list item in a dialog, you can also set the "Launch forms in a dialog" setting in the list settings -> advanced settings to "no". |
|||
|
|
|
I hope this might be helpful to you. http://techtrainingnotes.blogspot.com/2010/12/sharepoint-modifying-respond-to-this.html |
|||
|
|
|
Bender has the simplest solution. IsDlg controls just the formatting of the page, not the page's presentation in a dialog. |
|||
|
|