How to add content to a specific content placeholder using Document Types

Umbraco needs to do a little more steps to add some content to a page and to a specific contentplaceholder.

  • You need to edit the page template and add the zone that you wich to fill (in Settings -> Templates )

for example in the footer zone

<asp:Content ContentPlaceHolderID="F1_Zone25_1" runat="server"> 
<umbraco:Item runat="server" field="myTextField"/>
can insert other content fields or other content
</asp:Content>

umbraco1.png

 

  • Now you need to edit in Settings -> Document Types and see in the attached print how to create the new content field

umbraco2.png

  • Then go to tab Content of you page and you now have a new text field and set in other contentplaceholder.

umbraco3.png

  • Now Click Save and Publish
Have more questions? Submit a request

Comments

BindTuning logo
Copyright Ⓒ 2021 Bind.
All rights reserved.
Privacy Policy
Cookie Policy
BindTuning
              Linkedin BindTuning Twitter BindTuning YouTube BindTuning Instagram BindTuning
              Facebook
Powered by Zendesk