In my custom page layout there are no borders and captions next to my editable field. I want my editable fields to be displayed like below. Is it OOTB, how can i do that?

|
In my custom page layout there are no borders and captions next to my editable field. I want my editable fields to be displayed like below. Is it OOTB, how can i do that?
|
|||||||||
|
|
Firstly what version of sharepoint is this in? Im going to take a guess that this is in 2010. I think your talking about the chrome properties. In sharepoint 2007 it was easy - siteactions - edit page and select the webpart - edit and change its properties on the right. For 2010 its slightly different: How to format RichHtmlField in Publishing site Custom Page Layout also http://www.sharepointblues.com/2010/10/27/custom-styles-for-sharepoint-2010-rich-html-field/ and http://www.bentedder.com/customizing-markup-and-table-styles-in-sharepoint-richhtmlfield/#css EDIT You can do it through code:
or you can do it through sharepoint UI: Change Web Part Properties in SharePoint 2010
http://www.dummies.com/how-to/content/change-web-part-properties-in-sharepoint-2010.html shown through pictures :) You need to in sharepoint 2010: 1) goto your page that you want to edit. 2) on the ribbon select "page" tab. 3) select edit page within the ribbon (should be on the left hand side) 4) once selected the page will change to edit mode and you can now add webparts to the page. Find your webpart that you want to add the chrome... there should be a drop down arrow on the right handside of the webpart. Click it.. you should see some options. the one you want is "Edit Web Part". Select that option. 5) click "Appearance" in the new tab on the right hand side of the page 6) near the bottom you should see "chrome type". click on the dropdown and change to "Title and border". Now select apply and then ok. You should now see the changes with your webpart wrapped in a border with title :) or hover over the webpart and an arrow should appear on the top right side of the webpart, click it and select "Edit Web Part" and follow from 5 above! hope this helps :) |
|||||||||||
|