View Single Post
Old 03-27-2009, 08:35 PM   #1
satchel
Hall Of Famer
 
satchel's Avatar
 
Join Date: Apr 2002
Location: Ft Smith Ark. USA
Posts: 2,681
Evening up History Leaderboard title bar

In the History section of the game-generated html reports, the league Leaderboards page has title bars that don't stretch all the way across the columns.

In this screenshot, it's the red bars which say "Single Season Batting" and "Career Batting" and "Single Season Pitching" and "Career Pitching:"


The reason is that the template file which controls this table is telling those title bars to only stretch across seven columns, when there are actually eight (Player, Value, Year, Board, Stat, Board, Value, Player).

To fix this in your reports, go to your templates folder. Find the history_leaderboard_leaders_table_start.tpl file. Back it up before you do anything else. Make a copy and put it somewhere you can remember. Then, open the history_leaderboard_leaders_table_start.tpl file (you can use Notepad or any text editor).

Go to line 3

replace
Code:
<tr><td colspan="7">
with
Code:
<tr><td colspan="8">
That is, replace the "7" with an "8" and when you generate reports next time, the title bar will be even over the whole table, like in this example:
__________________
JL Commish
NPBL Rhode Island Reds ’33 ’34 ’35
TCBA San Francisco Railbornes ’74 ’76 ’77 ’78
FL New Orleans Black Sox ’56 ’57 ’58 ’59
satchel is offline   Reply With Quote