Author Topic: Lay outs  (Read 6921 times)

Mahound

  • Sr. Member
  • ****
  • Posts: 395
  • THE ONLY time i get screwed is when i play poker!
    • View Profile
Re: Lay outs xml error
« Reply #15 on: January 05, 2011, 02:25:24 PM »
Copied file from the racetrack 8 large blueprint file  and pasted into a new word doc. Saved it as an xml file.  renamed it as racetrack 2 and placed it in the same folder  where the other table blueprints are stored. Then opened up TD, drilled down to where the file is stored and  added it to the table screen and this was the message that i got back . I have compared the original to the new file and cant see any difference , apart from where i changed the font size from 26 to 14) (highlighted in red)

Original
highlightBackgroundColor="blue" />
    <size width="160" height="22" />
    <options showSeatNumber="inuse" />
    <name>
      <location x="center" y="center" />
      <size width="225" height="50" />
     <font size="26" italic="false" />
      <text color="yellow" />
    </name>

After change

highlightBackgroundColor="blue" />
    <size width="160" height="22" />
    <options showSeatNumber="inuse" />
    <name>
      <location x="center" y="center" />
      <size width="225" height="50" />
      <font size="14" italic="false" />
      <text color="yellow" />
    </name>



There was an error parsing the following file(s):

"C:\Program Files\The Tournament Director 2.64\templates\Racetrack 8 large.xml": Invalid number of root nodes (3)


So the only alteration  i did to the file was changing the font size from 26 t0 14. A friend of mine has suggested rename of the old file and giving the new file the original files name.

Any idea? thanks in advance

Mahound

  • Sr. Member
  • ****
  • Posts: 395
  • THE ONLY time i get screwed is when i play poker!
    • View Profile
Re: Lay outs
« Reply #16 on: January 05, 2011, 02:27:28 PM »
Corey, how do you get to the TD application,cant find it  I,d like to change fonts on the racetrack table

programfiles/tournamentdirector/templates. Its in the data store

TIMMER

  • Hero Member
  • *****
  • Posts: 562
    • View Profile
Re: Lay outs
« Reply #17 on: January 05, 2011, 02:32:47 PM »
Corey, how do you get to the TD application,cant find it  I,d like to change fonts on the racetrack table

programfiles/tournamentdirector/templates. Its in the data store
Thanks, Mahound ;D find it :o

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6216
    • View Profile
Re: Lay outs
« Reply #18 on: January 05, 2011, 02:48:53 PM »
Corey, how do you get to the TD application,cant find it  I,d like to change fonts on the racetrack table

programfiles/tournamentdirector/templates. Its in the data store

Correct, it is in the data store - but make sure that is your data store.  Mahound might have located his data store somewhere different from yours.  Settings window -> Preferences tab -> Data Stores.

Mahound: attach your edited file to a reply.  I suspect Word changed the file in some other way that the TD doesn't like.

Mahound

  • Sr. Member
  • ****
  • Posts: 395
  • THE ONLY time i get screwed is when i play poker!
    • View Profile
Re: Lay outs racetrack xml file
« Reply #19 on: January 05, 2011, 03:02:32 PM »
Here is a copy of the racetrack file that i amended

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6216
    • View Profile
Re: Lay outs
« Reply #20 on: January 05, 2011, 04:56:40 PM »
Oh yeah, that's never going to work.  I'd print the contents of that file here to show you just how much Word did to it, but when properly formatted it is nearly 1700 lines long.

Don't use Word.  Use Notepad or Wordpad.  Or use Microsoft's free XML Notepad:

http://www.microsoft.com/downloads/en/details.aspx?familyid=72d6aa49-787d-4118-ba5f-4f30fe913628&displaylang=en