Limit

Kravljanac
.
Posts: 20
Joined: Mon Jul 02, 2007 4:05 pm

Limit

Postby Kravljanac » Thu May 22, 2008 5:32 pm

Hello

Are there possible to help me out whit my question???

I want to have the choise in limit as in mod_joomleague_events_statistic.

I want to show just 5 of for example 10 matches in the module on frontpage and the visitor can then click on se all results.

Now in the module there is no limit and if i have 14 matches i show up also in module on frontpage.

In mod_joomleague_events_statistic and  mod_joomleague_next_match for example there are limit or number of games you can set to the module.

Are there possible to fix?

Kravljanac
.
Posts: 20
Joined: Mon Jul 02, 2007 4:05 pm

Re: Limit

Postby Kravljanac » Fri May 30, 2008 10:16 pm

So i know, how long i have to wait for a answer from joomleague crew?

Is there somebody in joomleague that can help??

Thanks

User avatar
julienV
Joomleague Core Developer
Joomleague Core Developer
Posts: 2016
Joined: Tue Jun 19, 2007 9:27 am
Location: France
Contact:

Re: Limit

Postby julienV » Sat May 31, 2008 12:28 am

replace

Code: Select all

  foreach($matches as $v){


with

Code: Select all

 
  $count = 0;
  foreach($matches as $v) {
    if ( $count++ > 5 ) break;
You can hire me, I'm a Joomla professional freelance developer.
Please contact me at jlv@jlv-solutions.com
NO PM, please use email !


Return to “mod_joomleague_results”

Who is online

Users browsing this forum: No registered users and 2 guests

cron