Thread: Inaugural Draft
View Single Post
Old 08-29-2007, 09:44 AM   #5
Kaitiaki
Hall Of Famer
 
Kaitiaki's Avatar
 
Join Date: Mar 2002
Location: Ontario, Canada
Posts: 2,065
Quote:
Originally Posted by kjcrusader09 View Post
yes, i meant publishing it to a website like that

..is there any way to customize the files?.. i'd like to post the league's website to it, and possibly customize how it looks and what appears where
As battists said, there's no easy way to do what you want, I'm afraid. For the most part, the game's HTML reports are what they are. The only "pure" way to do what you're asking for would be to edit the HTML templates that the game uses to generate those reports (found in your My Documents\Sports Interactive\OOTP Baseball 2007\data\templates\ folder), but that approach has several downsides:

1. It will affect how the report is generated for all the leagues on your computer, not just the one in question.

2. It requires understanding HTML and being comfortable editing it.

3. It requires deciphering the OOTP-specific code elements that are embedded in each HTML template.

So I wouldn't really recommend that. bp's suggestion of using Getch's draft utility is probably the most robust and feasible solution; however, I will offer one other possible approach for you. When you're viewing data in OOTP - say, the Draft Pool screen - there's a "Report" button in the bottom right that will let you create an HTML page of whatever information you currently have on the screen. So you can set up a custom View, apply a Filter, and/or Sort the draft pool list however you like, and then create an HTML page of exactly what you see.

That report won't "integrate" into your other web reports - i.e., it won't be linked from your league's HTML home page; you'll need to give your users a direct link to the file - and it won't automatically update whenever you update the rest of your web reports, but it will give you a way to view your draft pool in any order you wish and with any particular ratings that you wish to see.

The easiest way to do that, then, is to go to your Draft Pool screen, set up the view and columns the way you want (based on your particular request, I'd suggest a View that displays the POT rating of each draftee, sorted in descending order), hit "Report" in the bottom right corner of the screen, and select "Open Report". That will load the HTML version of the page in your default web browser. The location of the file will appear in your address bar, and you use File --> Save As to rename it or save it to a different location as you like. After that, just use your FTP program to upload it to your website, and tell your users what the URL to the file is.

- Kai
__________________
BJHL: Commissioner; Owner: Wichita War Eagles
Kaitiaki is offline