2019-02-28, 00:30
(2019-02-27, 23:37)jurialmunkey Wrote:Removed the visible condition, and it displays the original title all the time even if it matches the title displayed at the top in dialogvideoinfo(2019-02-27, 23:22)Edworld Wrote:(2019-02-27, 23:16)jurialmunkey Wrote: What's your actual code and what line are you repurposing?I believe you had country twice
<include content="Object_VideoInfo_InfoSection">
<param name="label" value="$LOCALIZE[20376]" />
<param name="label2" value="ListItem.OriginalTitle" />
<visible>!String.IsEmpty(ListItem.OriginalTitle) + !String.IsEqual(ListItem.OriginalTitle,ListItem.Title)</visible>
</include>
Ah you can't have the visible condition in an include like that unless the end include has a <nested /> tag in the appropriate place (which it doesn't) - you either need to add the nested tag to the group in the include in the includes_objects file or remove the visible condition altogether.