Author Topic: Display Ranked Prizes  (Read 2484 times)

Mac_09

  • Newbie
  • *
  • Posts: 27
    • View Profile
Display Ranked Prizes
« 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.

TIMMER

  • Hero Member
  • *****
  • Posts: 562
    • View Profile
Re: Display Ranked Prizes
« Reply #1 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.

Mac_09

  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: Display Ranked Prizes
« Reply #2 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.

TIMMER

  • Hero Member
  • *****
  • Posts: 562
    • View Profile
Re: Display Ranked Prizes
« Reply #3 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

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6216
    • View Profile
Re: Display Ranked Prizes
« Reply #4 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.