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
Is there any way to provide a fallback value using the useIfEmpty attribute and supplying a node attribute such as nodeName? I want to do something like this but having no joy:
<umbraco:Item ID="Item1" runat="server" Field="pageHeader" useifempty="nodeName" />
Hi Simon,
I think the attribute is case-sensitive... try "useIfEmpty"?
Cheers, Lee.
Hi Simon.
If you want to show the node name in this situation you shall probably use the pageName like this:
<umbraco:Item ID="Item1" runat="server" Field="pageHeader" useIfEmpty="pageName " />
and yeah, like Lee says, I think that the attribute is case sensitive as well :)
/Kim A
Perfect thanks guys.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Umbraco Item useIfEmpty - Node Attribute?
Is there any way to provide a fallback value using the useIfEmpty attribute and supplying a node attribute such as nodeName? I want to do something like this but having no joy:
Hi Simon,
I think the attribute is case-sensitive... try "useIfEmpty"?
Cheers, Lee.
Hi Simon.
If you want to show the node name in this situation you shall probably use the pageName like this:
and yeah, like Lee says, I think that the attribute is case sensitive as well :)
/Kim A
Perfect thanks guys.
is working on a reply...