CMS MADE SIMPLE FORGE

CGCalendar

 

[#6923] Prev/next links not working with yearlist

avatar
Created By: Stephan (10010110)
Date Submitted: Mon Oct 03 16:08:20 -0400 2011

Assigned To: Robert Campbell (calguy1000)
Version: 1.7.4
CMSMS Version: 1.9.4.3
Severity: Major
Resolution: Fixed
State: Closed
Summary:
Prev/next links not working with yearlist
Detailed Description:
The title says it all. I have mod_rewrite (pretty URLs) on, by the way. A
possible solution has been posted at
http://forum.cmsmadesimple.org/viewtopic.php?t=39150&topic=39150.0


History

Comments
avatar
Date: 2011-10-09 11:56
Posted By: Jocelyn Lusseau (kraygoon)

Solved with this modification :

In function.displayyearlist.php :

Add just before : $parms['display'] = 'yearlist';
This : $parms['use_session'] = $use_session;

Replace : $navigation['next'] = $module->CreateReturnLink($id, $returnid, '',
$parms, true);
By : $navigation['next'] = $module->CreateURL($id, 'default', $returnid, $parms,
$inline );

Replace : $navigation['prev'] = $module->CreateReturnLink($id, $returnid, '',
$parms, true);
By : $navigation['prev'] = $module->CreateURL($id, 'default', $returnid, $parms,
$inline );
      
Updates

Updated: 2012-12-29 00:45
state: Open => Closed

Updated: 2011-11-02 23:15
resolution_id: => 7