download and try the attached mod_joomleague_last_match.zip
For more information have a look here:
http://www.joomleague.de/forum/module_b ... g15208#new
Please note it's the version 0.91.
Kind regards, Tony
LeedsUnitedLadies07 wrote:Hmm... downloaded, installed, set everything to 'yes', picked my favourite team, the project... and I get nothing. The module is published, and the title appears, but nothing else. How does the module look for the last match; is it the last match day, or the last result for your chosen team? My favourite team doesn't play every match day (an odd feature of the way our league is implemented).
Update: Never mind, figured it out. I had said 'yes' to have the End Of Season message displayed.
Second question though: is it possible to link from the result to just the match report?
Code: Select all
if ($last_round == 1)
$round = $project->current_round-1;
else $round = $project->current_round;
printf('<a href="index.php?option=com_joomleague&func=showReport&p=%s&mid=%s&Itemid=%s"><img src="'.$mosConfig_live_site.'/components/com_joomleague/frontend/'.$project->template.'/images/details.gif" border="0" alt="'._JL_RESULTS_DETAIL_ICON.'" title="'._JL_RESULTS_DETAIL_ICON.'" /></a>', $project->id,$match->match_id, $Itemid);?>
LeedsUnitedLadies07 wrote:Thanks. That almost works perfectly, but I've had to hard-code the Itemid value into the file, as there's no option to change it... the module keeps looking for Itemid=1. Hope you decide to add the match report option to your next version.
Users browsing this forum: No registered users and 2 guests