Hey, You can pass $minYear and $maxYear as params to $html->yearOptionTag() ; dateTimeOptionTag passes null internally to yearOptionTag() so you can't use it like you want.
Cheers! On Dec 12, 11:44 am, "purepear" <[EMAIL PROTECTED]> wrote: > You can change '-60' and '+11' in > cake/libs/view/helpers/html.php > > $maxYear = is_null($maxYear) ? $currentYear + 11 : $maxYear + > 1; > $minYear = is_null($minYear) ? $currentYear - 60 : $minYear; > > although you should't mess with cake's code ..... but... it's just a > helper.. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
