Design and Web Development
Home
BearDev
Forum is transfered to our new web site www.JoomSport.com
Putting in place of departure module Next Match
Post Putting in place of departure module Next Match
on 04/07/2010 03:32

Congratulations for great design, simply the best I've ever seen.
I need to know how to put down the module Upcoming Matches where there will be a game, here is a basic example:

Brazil vs. Argentina
Time: 30/05/2010 - 17:30
Location: Maracana

Any suggestions admin

Thanks admin


MANDRIVA
Posts: 4

Naive
Naive
Registered

Joined Board
04/07/2010 03:21
Offline User is Offline

View all users posts

Post Re: Putting in place of departure module Next Match
on 04/09/2010 15:09

any solution?


Thank's job


MANDRIVA
Posts: 4

Naive
Naive
Registered

Joined Board
04/07/2010 03:21
Offline User is Offline

View all users posts

Post Re: Putting in place of departure module Next Match
on 04/09/2010 22:12

Hi,

Your request seems to be a good one for the upcoming versions. For example then you could already select in the backend settings: "Show Location Yes/No?" and so on.

For the time beeing this could be a 'quick and dirty' solution:

1.)
.../modules/mod_bl_next_matches/helper.php

REPLACE
Code:
$query = "SELECT m.id,m.m_date,m.m_time,md.m_name,md.id as mdid, t1.t_name as home, t2.t_name as away, score1,score2,m.is_extra,t1.id as hm_id,t2.id as aw_id,t1.t_emblem as emb1, t2.t_emblem as emb2 FROM #__bl_matchday as md, #__bl_match as m, #__bl_teams as t1, #__bl_teams as t2 WHERE m.m_id = md.id AND m.published = 1 AND md.s_id=".$s_id." AND m.team1_id = t1.id AND m.team2_id = t2.id AND m.m_date >= '".date('Y-m-d')."' AND m.m_played = 0 ".($t_id?(" AND (t1.id=".$t_id." OR t2.id=".$t_id.")"):"")." ORDER BY m.m_date,m.m_time,md.id LIMIT ".$match_count;



WITH
Code:
query = "SELECT m.m_location, m.id,m.m_date,m.m_time,md.m_name,md.id as mdid, t1.t_name as home, t2.t_name as away, score1,score2,m.is_extra,t1.id as hm_id,t2.id as aw_id,t1.t_emblem as emb1, t2.t_emblem as emb2 FROM #__bl_matchday as md, #__bl_match as m, #__bl_teams as t1, #__bl_teams as t2 WHERE m.m_id = md.id AND m.published = 1 AND md.s_id=".$s_id." AND m.team1_id = t1.id AND m.team2_id = t2.id AND m.m_date >= '".date('Y-m-d')."' AND m.m_played = 0 ".($t_id?(" AND (t1.id=".$t_id." OR t2.id=".$t_id.")"):"")." ORDER BY m.m_date,m.m_time,md.id LIMIT ".$match_count;


2.)
.../modules/mod_bl_next_matches/tmpl/default.php

INSERT
...

Unfortunately, I cannot publish the new code (Line no 93 - 99) due to 'translation' into html. Further, I cannot upload (add) my zip.file.

http://www.wp1082365.wp117.webpack.hosteurope.de/Joomla091/default.php.pdf


Ronny
Posts: 9

Naive
Naive
Registered

Joined Board
11/26/2009 09:59
Offline User is Offline

View all users posts

Post Re: Putting in place of departure module Next Match
on 04/09/2010 22:28

Hi Ronny

I'll work on it today by night

any progress, show here as it was


Thank you for the tip


MANDRIVA
Posts: 4

Naive
Naive
Registered

Joined Board
04/07/2010 03:21
Offline User is Offline

View all users posts

Thumb Up Putting in place of departure module Next Match ( resolved )
on 04/16/2010 14:45

After doing everything mentioned up there just call the place of departure with this code:

Inset:

.../modules/mod_bl_next_matches/tmpl/default.php


Code:
m_location;?>


Thanks friends, I have helped others ...


MANDRIVA
Posts: 4

Naive
Naive
Registered

Joined Board
04/07/2010 03:21
Offline User is Offline

View all users posts

Post Seshop
on 05/04/2011 01:39

Goraco zapraszamy do akcesorii gdzie Sklep erotyczny ma to do siebie ze jest tu wszystko.


ELUNDAKEK
Posts: 2

Naive
Naive
Registered

Joined Board
05/03/2011 16:50
Offline User is Offline

View all users posts