Displaying original title and title
On a list of movies, I want to display their name as <originaltitle>, unless <title> is present, in which case it should display <title> instead. How do I do that?

                            <control type="label">

Is what I have, halfway there. It displays all the names as <originaltitle>, but those that only have a <title> return nothing, obviously.
Using a variable replace <label>$INFO[ListItem.OriginalTitle]</label> with <label>$VAR[Title]</label> and then add this to your includes.xml.

<variable name="Title">
    <value condition="!String.IsEmpty(ListItem.OriginalTitle)">$INFO[ListItem.OriginalTitle]</value>
Perfect! Thank you so much.
Thread Rating:
  • 0 Vote(s) - 0 Average

Logout Mark Read Team Forum Stats Members Help
Displaying original title and title00