|
|
#1 (permalink) |
|
Hall Of Famer
Join Date: Jun 2006
Location: Hidd, Bahrain
Posts: 2,601
Thanks: 2
Thanked 6x in 6 posts
|
HTML Customization Guide
This will eventually be in the Game Guide, but until then, here ya go.
If you find something is inaccurate, please let me know, and if you have questions, please post here. http://www.robster1225.com/htmlguide.pdf Here's an example of what you can do if you follow these steps: http://ootp.oldredboat.com/news/html..._100_home.html
__________________
Robby Ruggles |
|
|
|
|
|
#4 (permalink) |
|
All Star Starter
Join Date: Dec 2001
Location: Carlsbad, CA
Posts: 1,110
Thanks: 58
Thanked 241x in 102 posts
|
Ok, I'm running up a bizarre problem. I have created new .jpg images for the following files:
- menu.jpg - menu_wide.jpg - si_logo_bottom.jpg If I put them in the ...\news\html\images folder for my league before launching the game, or the saved game, OOTP overwrites the files as it's loading the league. I can actually see it happening if I watch the directory... They are overwritten with the original images. Now, if I wait until the game is loaded, and then put the images in place, the game will use them. However, next time I run the game, they get overwritten again... Any ideas???? |
|
|
|
|
|
#5 (permalink) |
|
Hall Of Famer
Join Date: Jun 2006
Location: Hidd, Bahrain
Posts: 2,601
Thanks: 2
Thanked 6x in 6 posts
|
try this.
copy the templates folder that is found in data/ place that folder into your league folder. Then, put your edited images in to league.lg/templates/images that should fix your issue. If not, I'm on AIM, and we can try to hash this out if you want. (RobbyRuggles)
__________________
Robby Ruggles |
|
|
|
|
|
#10 (permalink) | |
|
Global Moderator
Join Date: Dec 2001
Location: Muscatine, IA
Posts: 8,275
Thanks: 2
Thanked 34x in 2 posts
|
Quote:
|
|
|
|
|
|
|
#11 (permalink) |
|
All Star Starter
Join Date: Dec 2001
Location: Carlsbad, CA
Posts: 1,110
Thanks: 58
Thanked 241x in 102 posts
|
sporr - no, but I did send my league file to rob so he could see if he could find the issue I was having.... For now, I put the image files out in the main templates directory and it is working, although my custom images are now used for any league I create...
|
|
|
|
|
|
#13 (permalink) |
|
Hall Of Famer
Join Date: Jun 2006
Location: Hidd, Bahrain
Posts: 2,601
Thanks: 2
Thanked 6x in 6 posts
|
Sorry, I haven't had a chance to look at that league file, but I will do so tonight. I'm sorry to keep you guys waiting on this.
__________________
Robby Ruggles |
|
|
|
|
|
#14 (permalink) |
|
Hall Of Famer
Join Date: Jun 2006
Location: Hidd, Bahrain
Posts: 2,601
Thanks: 2
Thanked 6x in 6 posts
|
After looking at your file, I'm officially stumped. I tested this in one of my leagues, and I got the same thing.
So, I'll TT this for Andreas to look at, but until then, custom editing the templates, as outlined in my guide, as well as putting your images in the main DATA templates folder will get the job done. I recommend custom editing the templates, as it gives you more flexibility. If you look at the reports I linked to, you should notice that I made the images bigger on the team pages by messing around with some HTML. If the reports aren't updated yet with that change, I'll get a screen shot up. It's quite amazing how much you can edit, honestly. TT: 3301
__________________
Robby Ruggles |
|
|
|
|
|
#15 (permalink) |
|
Administrator
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 6,468
Thanks: 146
Thanked 1,088x in 415 posts
|
Sorry guys, that's been a bug! The files have been copied each time when you load a game. Will be fixed in patch #2. They will only be copied if they don't exist.
__________________
Andreas Raht andreas@ootpdevelopments.com Out of the Park Developments Out of the Park Baseball Development Team Title Bout Development Team |
|
|
|
|
|
#17 (permalink) | ||
|
Administrator
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 6,468
Thanks: 146
Thanked 1,088x in 415 posts
|
Quote:
Now what I've found: Quote:
Images are always taken from /league folder.lg/news/html/images. They are copied into this folder when you create a league. The "master" folder where they come from is /data/templates/images, that's right. The styles.css will be copied to /league folder.lg/news/html/ when you create a league database. Each database always has it's own styles.css. So, changes to the master images folder or to the master styles.css will have effect when you create a league database next time, but not for existing league databases.
__________________
Andreas Raht andreas@ootpdevelopments.com Out of the Park Developments Out of the Park Baseball Development Team Title Bout Development Team |
||
|
|
|
|
|
#18 (permalink) |
|
Administrator
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 6,468
Thanks: 146
Thanked 1,088x in 415 posts
|
dola,
Feel free to redesign complete pages! If you for example want to remove anything from a pages, you can do that. OOTP will not crash when it tries to replace a token and doesn't find it in the template. Just adding tokens will not work because their needs to be the code in OOTP to replace the token with a value. Tokens? A token is a placeholder in the template, which is being replaced with a value by OOTP when OOTP builds the report. Looks like this: [%VORP]. Must not be changed! If you edit HTML, please keep in mind that OOTP's in-game browser has limited capabilities
__________________
Andreas Raht andreas@ootpdevelopments.com Out of the Park Developments Out of the Park Baseball Development Team Title Bout Development Team |
|
|
|
|
|
#19 (permalink) | |
|
Hall Of Famer
Join Date: Jun 2006
Location: Hidd, Bahrain
Posts: 2,601
Thanks: 2
Thanked 6x in 6 posts
|
Quote:
__________________
Robby Ruggles |
|
|
|
|
|
|
#20 (permalink) | |
|
Hall Of Famer
Join Date: Jun 2003
Location: OTher message Board Land
Posts: 4,924
Thanks: 4
Thanked 6x in 6 posts
|
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|