Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
i Create on property in MasterPage
like SpecialName
in Index Page Content i use This Property like
for example
my Special Name is {SpecialName}
if i set specialname is "Mr. X".
so its display in browser
my Special Name is Mr. X
i write content in child page like "my Special Name is {SpecialName} "
when i access page in browser replace {specialname} in i use in master page property "specialname" content
Thank you
If you click this file in the browser based editor it will add the field for you
So in XSLT you will get something like:
<p>my Special Name is <xsl:value-of select="$currentPage/SpecialName"/></p>
It would probably be simpler to do this though directly into the template, in the latest MVC version you will get something like
<p>my Special Name is @Umbraco.Field("SpecialName") </p>
and in the older web forms you'll get
<p>my Special Name is <umbraco:Item field="formLayoutFooter" runat="server" /> </p>
So it will get it right for you depending on the context of where you click the Insert button
Also there are some great introductions to all this on Umbraco.TV
hope that helps :)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Change Content Dynamically in inside child page content
i Create on property in MasterPage
like SpecialName
in Index Page Content i use This Property like
for example
my Special Name is {SpecialName}
if i set specialname is "Mr. X".
so its display in browser
my Special Name is Mr. X
i write content in child page like "my Special Name is {SpecialName} "
when i access page in browser replace {specialname} in i use in master page property "specialname" content
Thank you
If you click this file in the browser based editor it will add the field for you
So in XSLT you will get something like:
<p>my Special Name is <xsl:value-of select="$currentPage/SpecialName"/></p>
It would probably be simpler to do this though directly into the template, in the latest MVC version you will get something like
and in the older web forms you'll get
<p>my Special Name is <umbraco:Item field="formLayoutFooter" runat="server" /> </p>
So it will get it right for you depending on the context of where you click the Insert button
Also there are some great introductions to all this on Umbraco.TV
hope that helps :)
is working on a reply...