|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
#1 (permalink) |
|
Hall Of Famer
Join Date: Jun 2006
Location: Long Branch, NJ
Posts: 2,524
|
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
__________________
![]() Total Sports World - The Place To Get Your Sports Fix! ![]() eMLB - New York Mets 2013 - 30-23 2014 - 93-69 (First ever post season appearance for the Mets) ![]() BLB - Los Lunas Javelinas |
|
|
|
|
|
#2 (permalink) |
|
All Star Reserve
Join Date: Dec 2001
Location: Carlsbad, CA
Posts: 660
|
I love that example! Damn you, I was about to start playing the game and stop tweaking, but now I want to do this for my association!
![]()
__________________
XBL/PSN: Leadfoot5 Everywhere else: PadresFan104 PadresFan Adds-On Central Info:http://www.ootpdevelopments.com/boar...od-thread.html Text Sim Mod-File Website: http://www.padresfanmods.net |
|
|
|
|
|
#3 (permalink) |
|
Hall Of Famer
Join Date: Jun 2006
Location: Long Branch, NJ
Posts: 2,524
|
haha! If you need any help, let me know. The guide isn't ALL inclusive, but it should point you in the right direction.
__________________
![]() Total Sports World - The Place To Get Your Sports Fix! ![]() eMLB - New York Mets 2013 - 30-23 2014 - 93-69 (First ever post season appearance for the Mets) ![]() BLB - Los Lunas Javelinas |
|
|
|
|
|
#4 (permalink) |
|
All Star Reserve
Join Date: Dec 2001
Location: Carlsbad, CA
Posts: 660
|
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????
__________________
XBL/PSN: Leadfoot5 Everywhere else: PadresFan104 PadresFan Adds-On Central Info:http://www.ootpdevelopments.com/boar...od-thread.html Text Sim Mod-File Website: http://www.padresfanmods.net |
|
|
|
|
|
#5 (permalink) |
|
Hall Of Famer
Join Date: Jun 2006
Location: Long Branch, NJ
Posts: 2,524
|
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)
__________________
![]() Total Sports World - The Place To Get Your Sports Fix! ![]() eMLB - New York Mets 2013 - 30-23 2014 - 93-69 (First ever post season appearance for the Mets) ![]() BLB - Los Lunas Javelinas |
|
|
|
|
|
#6 (permalink) |
|
All Star Reserve
Join Date: Dec 2001
Location: Carlsbad, CA
Posts: 660
|
Thanks! I'll let you know...
__________________
XBL/PSN: Leadfoot5 Everywhere else: PadresFan104 PadresFan Adds-On Central Info:http://www.ootpdevelopments.com/boar...od-thread.html Text Sim Mod-File Website: http://www.padresfanmods.net |
|
|
|
|
|
#7 (permalink) |
|
All Star Reserve
Join Date: Dec 2001
Location: Carlsbad, CA
Posts: 660
|
Still not working, will IM you. I'm opus10538
__________________
XBL/PSN: Leadfoot5 Everywhere else: PadresFan104 PadresFan Adds-On Central Info:http://www.ootpdevelopments.com/boar...od-thread.html Text Sim Mod-File Website: http://www.padresfanmods.net |
|
|
|
|
|
#8 (permalink) |
|
All Star Reserve
Join Date: Dec 2001
Location: Carlsbad, CA
Posts: 660
|
Thanks for the help Rob. Here's a shot of a screen that shows all three image mods...
__________________
XBL/PSN: Leadfoot5 Everywhere else: PadresFan104 PadresFan Adds-On Central Info:http://www.ootpdevelopments.com/boar...od-thread.html Text Sim Mod-File Website: http://www.padresfanmods.net Last edited by PadresFan : 07-06-2007 at 12:19 AM. |
|
|
|
|
|
#10 (permalink) | |
|
Moderator*
Join Date: Dec 2001
Location: Muscatine, IA
Posts: 8,180
|
Quote:
|
|
|
|
|
|
|
#11 (permalink) |
|
All Star Reserve
Join Date: Dec 2001
Location: Carlsbad, CA
Posts: 660
|
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...
__________________
XBL/PSN: Leadfoot5 Everywhere else: PadresFan104 PadresFan Adds-On Central Info:http://www.ootpdevelopments.com/boar...od-thread.html Text Sim Mod-File Website: http://www.padresfanmods.net |
|
|
|
|
|
#13 (permalink) |
|
Hall Of Famer
Join Date: Jun 2006
Location: Long Branch, NJ
Posts: 2,524
|
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.
__________________
![]() Total Sports World - The Place To Get Your Sports Fix! ![]() eMLB - New York Mets 2013 - 30-23 2014 - 93-69 (First ever post season appearance for the Mets) ![]() BLB - Los Lunas Javelinas |
|
|
|
|
|
#14 (permalink) |
|
Hall Of Famer
Join Date: Jun 2006
Location: Long Branch, NJ
Posts: 2,524
|
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
__________________
![]() Total Sports World - The Place To Get Your Sports Fix! ![]() eMLB - New York Mets 2013 - 30-23 2014 - 93-69 (First ever post season appearance for the Mets) ![]() BLB - Los Lunas Javelinas |
|
|
|
|
|
#15 (permalink) |
|
Administrator
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 4,172
|
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 |
|
|
|
|
|
#16 (permalink) |
|
Hall Of Famer
Join Date: Jun 2006
Location: Long Branch, NJ
Posts: 2,524
|
Thanks, Andreas! I know I for one love the customization of these HTML pages, so I'm glad your fixing this issue.
__________________
![]() Total Sports World - The Place To Get Your Sports Fix! ![]() eMLB - New York Mets 2013 - 30-23 2014 - 93-69 (First ever post season appearance for the Mets) ![]() BLB - Los Lunas Javelinas |
|
|
|
|
|
#17 (permalink) | ||
|
Administrator
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 4,172
|
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: 4,172
|
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: Long Branch, NJ
Posts: 2,524
|
Quote:
__________________
![]() Total Sports World - The Place To Get Your Sports Fix! ![]() eMLB - New York Mets 2013 - 30-23 2014 - 93-69 (First ever post season appearance for the Mets) ![]() BLB - Los Lunas Javelinas |
|
|
|
|
|
|
#20 (permalink) | |
|
Hall Of Famer
Join Date: Jun 2003
Location: Twins Territory
Posts: 4,889
|
Quote:
![]()
__________________
-Jeff Avatar - Harry Stovey OTBA - Minneapolis Beermen (2017 - ) Clinton League - Kansas City Royals (1993 - ) AL Central Champs: 1994 LNB - Commissioner/Minneapolis Madness (2007 - ) AL Champs: 2009 Six Pitchers - 2007 WINNER! 103-56, 3.25 ERA Twin City Long Ball |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|