Forums

LeagueManager
[resolved] Team names linking to website instead of team profiles.. (3 posts)

  1. domisolmi
    Member
    Posted 1 year ago #

    Hello everyone..!
    i have a small problem but its getting me a headache.
    this is the website im working on: http://ligasiete.cl/liga/
    as you can see on the right sidebar (i know it looks messed up) when you click on the name of the team. either it opens a new window with the teams website, or it shows the team profile. (it shows the profile for those sited that i haven't assigned a website yet) . same happens in the standings page. http://ligasiete.cl/liga/?page_id=2
    i really need to fix this asap. i also tried doing the following on the standings page. but it didn't work.

    1.
    <a href="<?php echo $url; ?>"><?php echo $team->title ?>
    any help is appreciated. thanks

  2. domisolmi
    Member
    Posted 1 year ago #

    I solved it, for anyone having the same problem, just remove line 150 on lib/shortcodes.php

    if ( $team->website != '' ) $teams[$i]->title = 'website.'" target="_blank">'.$team->title.'';

  3. emzquem
    Member
    Posted 9 months ago #

    Perfect - thanks for sharing. Just solved my problem!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic