Home | Webstore
Latest News: OOTP 26 Available - FHM 11 Available - OOTP Go! Available

Out of the Park Baseball 26 Buy Now!

  

Go Back   OOTP Developments Forums > Prior Versions of Our Games > Earlier versions of Out of the Park Baseball > Earlier versions of OOTP: Technical Support > Earlier versions of OOTP: Closed or Claim Fixed
Register Blogs FAQ Calendar Today's Posts Search

Closed Thread
 
Thread Tools
Old 08-03-2007, 10:50 PM   #1
sox9418
Major Leagues
 
Join Date: Dec 2001
Location: Boston, MA
Posts: 323
Question HTML Template question

How are the tokens used in the HTML templates, and what reports use what files?

The reason I ask is that I'm slightly confused - there are the following templates:

player_report_page.tpl

player_report_page_start.tpl

Both include some of the same info - the player_report_page_start.tpl file has just the first 20 or so lines of the HTML file, while player_report_page.tpl looks to have the entire page. There are no call-outs that I can see in player_report_page.tpl to the start, end templates. When is each used?

The reason I ask is that I want to customize the pages, and I understand that you cannot substitute any token for one that isn't already in use in the file. To that end, here's my example:

Current player pages show the following text in the Title tag as well as in the header section:

Player Report for #12 Joe Blow

This comes from the [%TITLE] token, from what I can tell. I would prefer something like:

RF Joe Blow Player Profile

In the player_page_report.tpl, there are the following tokens:

[%Name]
[%Position]

When I try to use these in the Title tag in the HTML markup, they don't show up. It would appear that the player reports are combined from several different tpl files. Is there any guidance available on what templates actually make up what report outputs?

Thanks

Last edited by sox9418; 08-15-2007 at 10:07 AM.
sox9418 is offline  
Old 08-10-2007, 11:56 PM   #2
battists
Hall Of Famer
 
battists's Avatar
 
Join Date: Jul 2004
Posts: 18,506
Blog Entries: 7
Hi there.

I'm very sorry your issue has sat here for so long without a response. Us volunteers are a little on the burnt-out side right now! That's not an excuse, though, but let's see if we can make some progress, if you're still around after all this time...

First off, your example got kind of truncated, so I'm not sure where you were going with that.

I'm afraid I don't have the information you're asking for, generally speaking. For example, I don't have a document describing all of that that I could pass along.

Can you give me a specific example of what end result you'd like to accomplish? It might be easier for me to provide an answer in that manner.

Thanks,

Steve
battists is offline  
Old 08-15-2007, 10:12 AM   #3
sox9418
Major Leagues
 
Join Date: Dec 2001
Location: Boston, MA
Posts: 323
Sorry Steve - had to view the thread in Firefox since I had embedded an HTML tag without thinking.

Ideally, what I'm trying to achieve is to be able to see what kind of play I have with new player pages. Some of the tags clearly can't be changed, like the TITLE tags which seem to be populated from the game itself. If I can tell which template pieces map to which major pages, then I can piece them together as I like.

I was thinking of putting tabs into the player page, similar to what you might see from a Fox sports, etc., and I think I can do it by calling javascript and just using DIV tags to display the right info, but need to be sure I know what I'm pulling in. There are just too many template files to experiment too much.

Also looking to see if I can do anything here to avoid having to recreate PHP style pages to pull from a database, but may need to do that to try to retain some of the history of our league.

Hope I'm not rambling too much.

Thanks
sox9418 is offline  
Old 10-19-2007, 05:46 PM   #4
Nutlaw
Hall Of Famer
 
Nutlaw's Avatar
 
Join Date: Apr 2003
Posts: 9,538
I'm sorry that no one ever seemed to be able to come up with an answer to your question, Sox9418. Were you ever able to figure this out? Maybe by posting in the Mods sub forum?
Nutlaw is offline  
Old 11-03-2007, 10:23 AM   #5
Nutlaw
Hall Of Famer
 
Nutlaw's Avatar
 
Join Date: Apr 2003
Posts: 9,538
As this thread has gone more than two weeks without a reply, it will now be closed for housekeeping reasons so that Tech Support volunteers can more promptly find and address active issues. If you need any further assistance with this issue, all you have to do is post a link to this thread in Tech Support and we can pick up right where we left off. Thanks.
Nutlaw is offline  
Closed Thread

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:28 PM.

 

Major League and Minor League Baseball trademarks and copyrights are used with permission of Major League Baseball. Visit MLB.com and MiLB.com.

Officially Licensed Product – MLB Players, Inc.

Out of the Park Baseball is a registered trademark of Out of the Park Developments GmbH & Co. KG

Google Play is a trademark of Google Inc.

Apple, iPhone, iPod touch and iPad are trademarks of Apple Inc., registered in the U.S. and other countries.

COPYRIGHT © 2023 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright © 2024 Out of the Park Developments