View Single Post
Old 07-27-2008, 02:54 AM   #41 (permalink)
satchel
Hall Of Famer
 
satchel's Avatar
 
Join Date: Apr 2002
Location: Ft Smith AR
Posts: 2,680
Thanks: 52
Thanked 48x in 26 posts
Quote:
Originally Posted by JP Cooperstown View Post
How does one edit the color underneath the top menu, where it says:

*League Name*
Home

With your league logo on the far right?
I'm pursuing the answer to this same question, in this thread. This dark blue color is identified by the token %LEAGUE_BG_COLOR but I can't find where to change that token. I know that the tokens themselves need to be left in the template files, but where can we set the tokens' values?

But beyond that, what is the relationship between the .tpl template files and the reports generated by OOTP 9? Does the game refer to the templates every time it generates reports for a league? I see that the styles.css file in the templates folder is identical to the original unmodified styles.css in an individual league's news/html folder. Does the original styles.css from the templates folder just get copied into an individual league's news/html folder once? Yet, besides this, an individual league still refers to the templates folder for other guidance whenever the game generates reports for that particular league?

I want to overhaul the html for the online league I run, but I don't want to affect other leagues within my OOTP game. For example, my online league is based in Jamaica, so I don't want the "Top Prospects" list being labeled as being a product of Baseball America, I want it to be the product of Baseball Jamaica, with the link to jamaicaleague.org, instead of linking to baeballamerica.com. But if I have to change my base league_top_100_prospects.tpl file to do this, all the reports generated for my other leagues are going to have the Jamaican link instead of the Baseball America link, and I want to preserve my BA link for my American leagues. And this is just one of many changes I need to make to the basics of my generated html reports.

Apparently, one can't use separate sets of templates for separate leagues, so how can I work around this?
satchel is offline   Reply With Quote