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
Hi guys I have a strange behaviour after Umbraco upgrade from 4 to 7, but I don't know if is the standard one.
When I use the following peace of code:
umbraco Item ID= Item1 field= testoContenuto runat= server
and the field "testoContenuto" is blank it take the content from the parent node that have a field with the same name and the content is not blanck.
How can I always take the content from the node field, also when is blank, and not take the field content from the parent node?
Thanks in advance. Dante
Hi Dante
Recursive attribute set to false:
<umbraco:Item runat="server" Field="testoContenuto" recursive="false" />
Thanks,
Alex
Hi Alex thank you for your support but seems not working in my case.
It's always getting the content from the parent also using the code you suggested, very strange !!
Dante.
Hi Dante,
1) try to republish the site
2) check please, do you have som custom code running?
/Alex
Re-published and no custom code. Always the same behavior.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Strange behaviour after upgrade from Umbraco 4 to 7
Hi guys I have a strange behaviour after Umbraco upgrade from 4 to 7, but I don't know if is the standard one.
When I use the following peace of code:
umbraco Item ID= Item1 field= testoContenuto runat= server
and the field "testoContenuto" is blank it take the content from the parent node that have a field with the same name and the content is not blanck.
How can I always take the content from the node field, also when is blank, and not take the field content from the parent node?
Thanks in advance. Dante
Hi Dante
Recursive attribute set to false:
Thanks,
Alex
Hi Alex thank you for your support but seems not working in my case.
It's always getting the content from the parent also using the code you suggested, very strange !!
Dante.
Hi Dante,
1) try to republish the site
2) check please, do you have som custom code running?
/Alex
Re-published and no custom code. Always the same behavior.
Dante.
is working on a reply...