Monday, May 30, 2016

SP2013 master page notes

Webparts in rich edit fields
  • need AjaxDelta around editable area in order to insert webparts in them (see thread: Why do my Web Part properties not show up?)
  • sometimes you just need to insert another webpartzone to be able to insert webparts in some placeholders
  • not all the html editor controls could have webparts inserted; has to do with the hidden webpartzone used for those being in PlaceHolderMain (see http://sharepoint.stackexchange.com/questions/59423/cannt-add-web-part-to-publishingwebcontrolsrichhtmlfield)

If added/removed contentplaceholders in master:
  • if you add/remove a contentplaceholder, you need to create a temporary page layout using that master page and see what changed in the head section and compare that with your existing page layouts and make similar changes;

No comments:

Post a Comment