Content inheritance and editable text

Brenden Kehren asked on July 27, 2015 23:59

Not sure why I haven't come across this before but how can I can a simple editable text webpart to display on the sub pages? They have no need for a specific page type for this which is why I'm using an editable text webpart.

I have a layout similar to the image below but under the CSS list menu webpart I have an editable text webpart I want to be available for all the sub pages in the Placeholder to enter text into.

Image Text

Recent Answers


Suneel Jhangiani answered on July 28, 2015 15:58

I'm not 100% sure as I only just had a quick look at the control. However, I believe that if you clone the EditableText web part you would then be able to change the code in the Setup Control phase and append a PageID to the ContentID, thereby tricking it into allowing different content on each page.

0 votesVote for this answer Mark as a Correct answer

Roman Hutnyk answered on July 29, 2015 03:55 (last edited on July 29, 2015 03:57)

Brenden,

The only idea I can think of is adjusting this template, so it will meet sub page needs, setting macro and/or default values to current text areas and sharing it across this page as well as child pages, but it works only in case all sub pages have similar structure.

The other aproach, that I do not like, is using javascript to adjust page markup on page load.

Thanks

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.