I would like to put a Heading and a RTE Editor into a Bootstrap Panel.
The HTML is:
@inherits Umbraco.Web.Macros.PartialViewMacroPage
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
Put the Heading Editor here
</h3>
</div>
<div class="panel-body">
Put the RTE here
</div>
</div>
What is the code to put the Heading Editor as the Panel Title and the RTE as the Panel Body?
Get editors in a Partial Macro
I would like to put a Heading and a RTE Editor into a Bootstrap Panel.
The HTML is:
What is the code to put the Heading Editor as the Panel Title and the RTE as the Panel Body?
Your help would be much appreciated.
Thanking you in anticipation.
Roger
Hi Roger,
In order to get the value from umbraco for a field specify in doctype you can use "GetPropertyValue" function of @Current page.
so you need to have something like....
Here YourPropertyAlias is the field name you define while specifying your document types.
so for the body define like above image the code will be
Hope this help!
Jigar
is working on a reply...