CG_Calender - Search
Posted: Wed Aug 07, 2013 12:45 pm
I use the sample from the "search form template".
For some reason the dropdown-menu for the years starts with 2 and ends with 2011.
If I look in the code I see:
<div class="row">
<div style="width: 40%; float: left; text-align: right;">
{$mod->Lang('start_date')}:
</div>
<div style="width: 40%; float: left;">
{capture assign='tmp'}{$actionid}cal_search_start_date_{/capture}
{html_select_date prefix=$tmp time=$search_start_date start_year=-2 end_year=+2}
{* {html_select_time prefix=$tmp time=$search_start_date display_seconds=0} *}
</div>
</div>
What's wrong with it?
For some reason the dropdown-menu for the years starts with 2 and ends with 2011.
If I look in the code I see:
<div class="row">
<div style="width: 40%; float: left; text-align: right;">
{$mod->Lang('start_date')}:
</div>
<div style="width: 40%; float: left;">
{capture assign='tmp'}{$actionid}cal_search_start_date_{/capture}
{html_select_date prefix=$tmp time=$search_start_date start_year=-2 end_year=+2}
{* {html_select_time prefix=$tmp time=$search_start_date display_seconds=0} *}
</div>
</div>
What's wrong with it?