I added a content tab and inserted few properties in it. But unable to access the page field in template.The text in the content tab is not displayed. this is quite simple but m unable to figure the cause of error.
I inserted the following page field in the template
Have you republished the document after having added the newly created property and data for that property? As changing existing doc types (adding/removing/updating properties) needs a republish before it's reflected in the frontend.
Doesn't matter where you place a property, this is just for convenience in the backend...
Page field in Template
I added a content tab and inserted few properties in it. But unable to access the page field in template.The text in the content tab is not displayed. this is quite simple but m unable to figure the cause of error.
I inserted the following page field in the template
<umbraco:Item field="latestNews" runat="server"></umbraco:Item>
Please note latestNews is the property name. Can we insert new tab to the existing document type?
Regards,
Amby
Have you republished the document after having added the newly created property and data for that property? As changing existing doc types (adding/removing/updating properties) needs a republish before it's reflected in the frontend.
Doesn't matter where you place a property, this is just for convenience in the backend...
Cheers,
/Dirk
yeah have replublished the doc types.. I can input the data from the content tab but that does not reflect on the page.
Also, the inbuilt properties like @createdDate, @pageName etc are displayed but the custom properties are not displayed.
Regard,
Amby
Oops... Got it solved. Was directing to a different url. It works..
Many thanks Dirk
Regards,
amby
is working on a reply...