Change Seasons - Scores

Everything about the STHS Web Portal - Open Source Version / Tout ce qui touché le STHS WebPortal – Open Source
The Crazy / Le Fou
Posts: 257
Joined: Mon Jul 17, 2006 8:23 pm

Change Seasons - Scores

Post by shamrocks » Mon Jun 18, 2018 1:57 pm

I'm using V3 of the Simulator, and when I go to a team page and change the Season to a different year. the Schedule/Results load up, but the link for tte boxscore always defaults to the current Seasons folder.

Looking through the pro_schedule.php (and farm_schedule.php) I assume the issue is in the follow code:

Code: Select all

<td align="center"><?php if ($row_GetSchedule['Play'] == "True" || $row_GetSchedule['Play'] == "Vrai") { ?><a href="<?php echo $_SESSION['DomainName']; ?>/File/<?php echo $row_GetSeasons['Folder']; ?>/<?php echo $GameLink ?>" target="_blank"><?php echo $l_nav_scores;?></a><?php }?></td>
I'm guessing where it points to the folder after "File" is the issue, but not sure how to fix it.

Trying to install Web Portal (V2)..... not having any luck.