|
||||
| ||||
|
|
#1 |
|
Major Leagues
Join Date: Nov 2002
Posts: 307
|
Player Template Page: Question W/ Adding Link
Hello,
I am currently working on adding a direct link to a player's StatsLab page directly onto the player's original league report page. I have found the template file that needs editing (player_report_data4) and I have added the following code to the bottom of the page: <a href=“http://mlb-pro.com/StatsLab/player.php?player_id=[%PLAYER_ID]”>StatsLab Page</a> While I am getting the "StatsLab Page" wording to show up where I would like it to, I am getting the file link: http://www.mlb-pro.com/lgreports/pla...=8414%E2%80%9D and as a result a: Not Found The requested URL /lgreports/players/“http://mlb-pro.com/StatsLab/player.php was not found on this server. ------- Any assistance on fixing the link issue would be tremendously appreciated. Thank you. |
|
|
|
|
|
#2 |
|
Hall Of Famer
Join Date: Nov 2002
Posts: 3,648
|
I have not played around with this, so can't tell you for sure if it'll work or not, but you might try using a relative link instead of a direct link.
e.g.: "../../StatsLab/player.php?player_id=[%PLAYER_ID]"
__________________
StatsLab- PHP/MySQL based utilities for Online Leagues Baseball Cards - Full list of known templates and documentation on card development. |
|
|
|
|
|
#3 |
|
Major Leagues
Join Date: Nov 2002
Posts: 307
|
Thanks for the input.
Ended up being an error with smart quotes rather than a " - fixed and worked like a charm. |
|
|
|
![]() |
| Bookmarks |
|
|