Hi,

I'm using the jump menu module, jump_quickly($jt_week).

The problem is the url the menu jumps to based on the $jt_week's key is 'timetable/37%3Fpage%3D1' and not 'timetable/100/37?page=1'.

Anyone and ideas howto fix?

$jt_week = array();
for($i = 1; $i < 13; $i++){
$jt_date = $i * 604800 + $start;
$jt_key = "timetable/$room?page=$i";
$jt_week[$jt_key] = date('D jS F Y', $jt_date);
}

Cheers,

Chris

Comments

chrismatchett’s picture

The solution turned out to be simple (even if it did take a few hours of head scratching)...use the full url.

$my_array[http://mysite.com/folder/37?page=1] = 'Text to display in select';

This doesn't work

$my_array[folder/37?page=1] = "Text to display in select';

This will resolve to http://mysite.com/folder/37%3fpage%3d1.

Chris