The Tournament Director Forums

Main => Templates, Layouts and Sounds => Topic started by: Mac_09 on January 14, 2013, 03:59:38 PM

Title: Display Ranked Prizes
Post by: Mac_09 on January 14, 2013, 03:59:38 PM
Is there a token or a way to display ranked prizes only?  I am displaying each prize in a separate row on the layout individually.  For example, I am displaying the prize for 5th place by using <prize index="5" showName="false" showAmount="true" roundOff="true" showRecipient="false">, but when I only have 4 payouts, it is displaying the next prize in the list which is a Last Longest prize. I want to display the 5th place amount if there is one and display nothng if there isn't.

Thanks.
Title: Re: Display Ranked Prizes
Post by: TIMMER on January 14, 2013, 04:24:24 PM
<prize index="5" showName="false" showAmount="true" roundOff="true" showRecipient="false "hideIfNone="true">    just add     hideIfNone="true">  that should work.
Title: Re: Display Ranked Prizes
Post by: Mac_09 on January 14, 2013, 08:55:37 PM
That does not work. I have prizes for 1st thru 4th and then a prize for Last Longest.  Instead of not displaying, it is showing the Last Longest amount.  I only want it to display if it is a ranked prize.
Title: Re: Display Ranked Prizes
Post by: TIMMER on January 14, 2013, 10:21:10 PM
Yep, I tried this two ways no luck.   1 - prize tab, click that prize, click dont display on screen.  2 - hideIfNone="true">       still shows rank #number & $0.00
Title: Re: Display Ranked Prizes
Post by: Corey Cooper on January 15, 2013, 10:23:26 AM
No way to display only prizes of a specific type, as far as I can remember.  I'll have to add an attribute to the <prizes> token.

The Display prize on Tournament Screen only affects the <prizes> token.