How do I format this link in the template?

  • Thread starter Thread starter AndrewSimm
  • Start date Start date

AndrewSimm

Guest
Member
The values come from $sport, $team, and $year. I can't figure out how to format a link that includes 3 variables. $sport and $team are pulled in with the template and $year is looped through from $years. It is worth noting that the route works fine when I enter the information into the address bar.

Code:

Code:

Code:
                    <xf:foreach loop="$years" value="$year">
                        <a href="{{ link('players/commits', $sport) }}" class="menu-linkRow u-indentDepth0...

Read...

Read more

Continue reading...
 
Top