19/08/2010, 15:39:23
Comme promis, voici la soiultion, j'ai testé cela fonctionne :
I' had the same problem. The solution for me was to use inline=0 in calendar tag, and inline=1 for the month prev/next links.
I did this by changing two lines 343 nad 351 in function.displaycalendar.php, I replaced "$inline" for true Smiley
It's not elegant but for now works fine Smiley
Bref, pour ceux que shakespeare n'inspire pas :
Le code originel :
I' had the same problem. The solution for me was to use inline=0 in calendar tag, and inline=1 for the month prev/next links.
I did this by changing two lines 343 nad 351 in function.displaycalendar.php, I replaced "$inline" for true Smiley
It's not elegant but for now works fine Smiley
Bref, pour ceux que shakespeare n'inspire pas :
Le code originel :
Citation :$parms = array();Le code modifié :
$parms['use_session'] = $use_session;
$parms['year'] = $next_month['year'];
$parms['month'] = $next_month['month'];
if( isset($parameters['lang']) )
{
$parms['lang'] = $parameters['lang'];
}
$navigation['next'] = $module->CreateURL($id,'default',$returnid,
$parms,$inline);
$navigation['ni_next'] = $module->CreateURL($id,'default',$returnid,
$parms,false);
$parms['year'] = $prev_month['year'];
$parms['month'] = $prev_month['month'];
$navigation['prev'] = $module->CreateURL($id,'default',$returnid,
$parms,$inline);
$navigation['ni_prev'] = $module->CreateURL($id,'default',$returnid,
$parms,false);
Citation :$parms = array();Voilà, j'espère que ça servira.
$parms['use_session'] = $use_session;
$parms['year'] = $next_month['year'];
$parms['month'] = $next_month['month'];
if( isset($parameters['lang']) )
{
$parms['lang'] = $parameters['lang'];
}
$navigation['next'] = $module->CreateURL($id,'default',$returnid,
$parms,true);
$navigation['ni_next'] = $module->CreateURL($id,'default',$returnid,
$parms,false);
$parms['year'] = $prev_month['year'];
$parms['month'] = $prev_month['month'];
$navigation['prev'] = $module->CreateURL($id,'default',$returnid,
$parms,true);
$navigation['ni_prev'] = $module->CreateURL($id,'default',$returnid,
$parms,false);
@agiwebconseil | tutos vidéos sur cmsms