The Tournament Director Forums

Main => Help Me => Topic started by: Adz on June 19, 2008, 06:49:50 AM

Title: Understanding The Layout System
Post by: Adz on June 19, 2008, 06:49:50 AM
Hi, the layouts are in HTML? am I right?

I am fluent in HTML and Graphic Design and so I want to make a layout but the program is confusing me.. can you not preview layouts while you build them? or do you have to keep switching backwards and forwards? I opened a .TLO file and see that it is made up with HTML code but it is not formatted.

How do you guys go about making a layout?

Another thing I noticed is under the layout section I can only select pages Main and Rules, but there is a seating chart page that is not on the list but it rotates on the main screen..
Title: Re: Understanding The Layout System
Post by: badbeat on June 19, 2008, 07:08:12 AM
For other areas/options look at global and other properties. (You don't need to know html to make your own layouts, but a basic understanding always helps)
Title: Re: Understanding The Layout System
Post by: Corey Cooper on June 24, 2008, 11:37:21 AM
Adz - with version 2.5 and later, you can "preview" while you work on a layout.  This is possible because the Settings Window is separate from the Game Window, so you can edit the layout in the Settings Window while the Game Window displays the layout.

You can lock the Game Window on the particular screen you are working on in one of two ways: press Ctrl+L when the screen you want to work on is displayed in the Game Window, or use the numbers keys 1-9 to select a particular screen and automatically engage the screen lock.

The Seating Chart, Player Rankings, Blinds Schedule, and Player Movements Screens are all "built-in" screens.  You can modify properties of them, but not the overall layout of them.  You display them by visiting them directly (using the context menu, or hotkeys F3 through F6), or by including them in your layout's Screen Sets.  You can modify their properties by using the context menu when the particular built-in screen is displayed, or on the Layout tab by pressing the Other Properties button.

The cells themselves contain HTML, yes, but the overall structure of the screen is defined by how you arrange the cells using rows and columns on the Layout tab.  You cannot define the entire page using your own HTML because frankly it would cause the rendering engine in Internet Explorer to slow to a crawl as the page is updated.

Or, actually you can if you want to give it a try.  Just create a single cell, and insert it as the only cell on the screen inside a single Row or Column.  Insert all of the HTML you want in there, including as many layout tokens as you need.  Every time something on the screen changes (and this will be once per second if you have the game clock or the time of day displayed), the entire screen will have to be re-parsed and re-rendered.  It will not be zippy.

I suggest checking out the user manual included with the software.  It should have most everything you need to know about layouts.