Link from mod_joomleague_results to showReport?

Rchernovol
Newbie
Posts: 1
Joined: Wed Feb 27, 2008 5:08 pm

Link from mod_joomleague_results to showReport?

Postby Rchernovol » Wed Feb 27, 2008 5:14 pm

Hello guys!
What should i write in code to have a link in module mod_joomleague_results to Match report?
I understand I should use the function show_report_icon in module, but how?
It should look like: team-team-score-report

Please help!

sebavt
Newbie
Posts: 2
Joined: Tue Jan 27, 2009 9:06 pm

Re: Link from mod_joomleague_results to showReport?

Postby sebavt » Tue Jan 27, 2009 9:18 pm

Hi! If it´s not too late I can help you with that!!
You´ve to open the file "mod_joomleague_results.php" under the "joomla/modules" directory and go to the line #194.

Once there, you have to reeplace (or comment) this lines.....:
      matchpart1_result; ?>
      :
      matchpart2_result; ?>
With this ones...:
            echo '';
      echo '';
      echo $match->matchpart1_result.'-'.$match->matchpart2_result;
      echo '
';
      echo '';
      ?>
Now you will see in the match result a hyperlink to the match report.
Hope it helps!!
Cheers
Last edited by sebavt on Tue Jan 27, 2009 9:22 pm, edited 1 time in total.

markk
Newbie
Posts: 3
Joined: Mon Sep 28, 2009 12:27 pm

Re:Link from mod_joomleague_results to showReport?

Postby markk » Mon Oct 05, 2009 6:03 pm

Nice! That did the trick!

Seems that this editor changes <.\a.>(remove the dots) into [/url].. the 4th echo needs too be a closing ahref :)


Thanks allot for your hack mate!


Return to “mod_joomleague_results”

Who is online

Users browsing this forum: No registered users and 2 guests

cron