While enhancing our blogs portlet functionality, I came across what appeared to be a few interesting oversights while editing blogs. While editing and publishing (or submitting for publication) a blog entry worked entirely as expected, if one selected the “Save as Draft” option, several items were not saved, namely the Categories selected, whether Pingbacks and/or Trackbacks were selected, and the “Trackbacks to Send” field. Since we do a lot of blog creation in our spare time, we rarely complete an entry in one sitting, so the draft feature is important to us.
<portlet:namespace />allowPingbacks: document.<portlet:namespace />fm.<portlet:namespace />allowPingbacks.value,
<portlet:namespace />allowTrackbacks: document.<portlet:namespace />fm.<portlet:namespace />allowTrackbacks.value,
<portlet:namespace />assetCategoryIds: document.<portlet:namespace />fm.<portlet:namespace />assetCategoryIds.value,
Deploy the hook and your drafts should now include the settings for these 3 fields.