Author Topic: ChipTalk Layout - inspired by all the other great templates here  (Read 28241 times)

TenPercenter

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: ChipTalk Layout - inspired by all the other great templates here
« Reply #15 on: November 12, 2007, 12:07:40 PM »
The files are uploaded, see the original post please.

PLEASE:  Give me feedback with any problems you see, fixes, or suggestions.  I will repair the export and reattach the zip.

Jarmy

  • Newbie
  • *
  • Posts: 47
  • Maybe poker's not your game.....
    • View Profile
Re: ChipTalk Layout - inspired by all the other great templates here
« Reply #16 on: November 12, 2007, 12:28:26 PM »
 ???  I must be missing something because I can't find the zip files anywhere.  Please help.

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5423
    • View Profile
Re: ChipTalk Layout - inspired by all the other great templates here
« Reply #17 on: November 12, 2007, 12:29:20 PM »
You've exposed a bug in the layout export - the export doesn't include images (background or otherwise) in the Player Rankings or Seating Chart pages.  Looks like I just missed including those...

For anyone wanting to use this layout, you'll need to download the "heart.jpg" and "diamond.jpg" files (from here: http://thetournamentdirector.net/forums/index.php?topic=339.msg2536#msg2536) and save them to your TD folder, in "images\ChipTalk.net".

Jarmy

  • Newbie
  • *
  • Posts: 47
  • Maybe poker's not your game.....
    • View Profile
Re: ChipTalk Layout - inspired by all the other great templates here
« Reply #18 on: November 12, 2007, 12:29:57 PM »
 ;D  Never mind!!!  I was missing my brain for a few moments evidently.  I found the files.

TenPercenter

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: ChipTalk Layout - inspired by all the other great templates here
« Reply #19 on: November 12, 2007, 12:55:42 PM »
Corey, do the status messages preferences export?  I changed the colors to red from the default green.

TenPercenter

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: ChipTalk Layout - inspired by all the other great templates here
« Reply #20 on: November 12, 2007, 01:15:11 PM »
You've exposed a bug in the layout export - the export doesn't include images (background or otherwise) in the Player Rankings or Seating Chart pages.  Looks like I just missed including those...

For anyone wanting to use this layout, you'll need to download the "heart.jpg" and "diamond.jpg" files (from here: http://thetournamentdirector.net/forums/index.php?topic=339.msg2536#msg2536) and save them to your TD folder, in "images\ChipTalk.net".

I went ahead and added them manually to the zip file.  If I did it right, there's no need to download background images separately.

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5423
    • View Profile
Re: ChipTalk Layout - inspired by all the other great templates here
« Reply #21 on: November 12, 2007, 02:27:36 PM »
No - status messages are a preference, and are not part of the layout.

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5423
    • View Profile
Re: ChipTalk Layout - inspired by all the other great templates here
« Reply #22 on: November 12, 2007, 02:38:29 PM »
One more suggestion: where you have inserted the ChipTalk logo (main screen and both Player Ranking and Seating Chart headers), use a relative path instead of an absolute path.

Currently you've got it set to "C:\Program Files\The Tournament Director 2\images\ChipTalk.net\ct_logo_bg_blue1.gif".  This works fine for probably 95+% of all TD users, but for those who have installed the TD to a different location, they'll get a broken image.  Change it to "images\ChipTalk.net\ct_logo_bg_blue1.gif".

I suspect it is set to an absolute path because you used the "Insert Image" button when you first created the template (probably some time ago).  At the time, any images saved in the TD's "images" folder needed an absolute path.  This is no longer required.  If you use the Insert Image button now, you'll see it insert something along the lines of:

<img src="file:///<home>\images\ChipTalk.net\ct_logo_bg_blue1.gif" border="0">

The <home> token will insert the folder in which the TD is installed, making it:

<img src="file:///C:\Program Files\The Tournament Direct 2\images\ChipTalk.net\ct_logo_bg_blue1.gif" border="0">

... or if the user has the TD installed in "C:\TD":

<img src="file:///C:\TD\images\ChipTalk.net\ct_logo_bg_blue1.gif" border="0">

But

<img src="images\ChipTalk.net\ct_logo_bg_blue1.gif" border="0">

... should work just as well.

TenPercenter

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: ChipTalk Layout - inspired by all the other great templates here
« Reply #23 on: November 12, 2007, 03:02:01 PM »
One more suggestion: where you have inserted the ChipTalk logo (main screen and both Player Ranking and Seating Chart headers), use a relative path instead of an absolute path.

Currently you've got it set to "C:\Program Files\The Tournament Director 2\images\ChipTalk.net\ct_logo_bg_blue1.gif".  This works fine for probably 95+% of all TD users, but for those who have installed the TD to a different location, they'll get a broken image.  Change it to "images\ChipTalk.net\ct_logo_bg_blue1.gif".

I suspect it is set to an absolute path because you used the "Insert Image" button when you first created the template (probably some time ago).  At the time, any images saved in the TD's "images" folder needed an absolute path.  This is no longer required.  If you use the Insert Image button now, you'll see it insert something along the lines of:

<img src="file:///<home>\images\ChipTalk.net\ct_logo_bg_blue1.gif" border="0">

The <home> token will insert the folder in which the TD is installed, making it:

<img src="file:///C:\Program Files\The Tournament Direct 2\images\ChipTalk.net\ct_logo_bg_blue1.gif" border="0">

... or if the user has the TD installed in "C:\TD":

<img src="file:///C:\TD\images\ChipTalk.net\ct_logo_bg_blue1.gif" border="0">

But

<img src="images\ChipTalk.net\ct_logo_bg_blue1.gif" border="0">

... should work just as well.


Thanks Corey.

How do I fix the "C:\Program Files\The Tournament Director 2\templates\ChipTalk-rules.html" file?  neither method seems to work.

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5423
    • View Profile
Re: ChipTalk Layout - inspired by all the other great templates here
« Reply #24 on: November 12, 2007, 03:36:15 PM »
I'm not sure what you mean.

The rules are not saved as part of the layout export, so you'll need to include any rules you have separately.  I guess this is something that could also be included in the layout export.

As for files referenced by the rules template, they should already be saved in the rules template as "relative" paths.

Jarmy

  • Newbie
  • *
  • Posts: 47
  • Maybe poker's not your game.....
    • View Profile
Re: ChipTalk Layout - inspired by all the other great templates here
« Reply #25 on: November 12, 2007, 03:52:20 PM »
 ???  Corey,  I really like this background and some others I have seen on this forum.  Where do you put the background file in?  I have downloaded the ChipTalk files, but can't see where the spade.jpg is put in.  Can you help?  I would like to incorporate it in with the layout I am currently using.

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5423
    • View Profile
Re: ChipTalk Layout - inspired by all the other great templates here
« Reply #26 on: November 12, 2007, 04:21:29 PM »
If you download TenPercenter's ZIP file (attached to the original topic), you just unzip it to where ever you have your TD installed.  All files should be in their correct locations.

Jarmy

  • Newbie
  • *
  • Posts: 47
  • Maybe poker's not your game.....
    • View Profile
Re: ChipTalk Layout - inspired by all the other great templates here
« Reply #27 on: November 12, 2007, 08:47:55 PM »
Thanks Corey!  I didn't extract the zipped file to the correct location.  I just tried to open and save the files in their correct folders.  Your way (the correct way) works much better!  I can not see the Rules page or the Post Tournament page either.  I guess this is the problem you spoke about earlier.  Great work TenPercenter!  The layout looks awesome! 

TenPercenter

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: ChipTalk Layout - inspired by all the other great templates here
« Reply #28 on: November 12, 2007, 11:56:39 PM »
Thanks Corey!  I didn't extract the zipped file to the correct location.  I just tried to open and save the files in their correct folders.  Your way (the correct way) works much better!  I can not see the Rules page or the Post Tournament page either.  I guess this is the problem you spoke about earlier.  Great work TenPercenter!  The layout looks awesome! 

For now, I have rebuilt the zip to include "ChipTalk-TD-Layout-and-Sounds-Template-1.zip\templates\ChipTalk-rules.html"

To implement it:
1. Go to the Rules Tab
2. Click "rules" in the list on the left
3. Click the "HTML" radio button
4. Browse and choose the ChipTalk-rules.html file.

You can save the template at this point.

If you want to change your rules, just open ChipTalk-rules.html with Notepad or an html editor.


____________________________________________________________________


Corey, how would do the rules page differently than what I am doing now? Instead of saving it as an html page in the templates folder?

I mean, how do I make this part of the layout export instead of a separate step for the user?
« Last Edit: November 13, 2007, 12:08:43 AM by TenPercenter »

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5423
    • View Profile
Re: ChipTalk Layout - inspired by all the other great templates here
« Reply #29 on: November 13, 2007, 10:53:49 AM »
You don't.  The Rules are separate because they are really a separate piece of your tournament, in the same way your chips configuration or your blinds schedule is separate.  The "rules tokens" that you insert into the layout only reference the rules you've created on the Rules tab.

If there was a token that showed your blinds schedule (maybe there should be...), the token would only reference the schedule, but the schedule itself would remain a separate part of the tournament, which you could modify, load, and save independently from the layout.  You wouldn't want the blinds schedule itself to become part of the layout.  In the same way, the rules are separate, and are modified, loaded, and saved independently from the layout.