| View previous topic :: View next topic |
| Author |
Message |
alper60
Joined: 29 Oct 2007 Posts: 39
|
Posted: Mon May 19, 2008 7:08 pm Post subject: Required for select category? |
|
|
hello,
I want to add this to select category box.cause people sometimes forget about selecting category.I look your example but could not managed.may you help for this.
 |
|
| Back to top |
|
 |
alper60
Joined: 29 Oct 2007 Posts: 39
|
Posted: Mon May 19, 2008 7:28 pm Post subject: |
|
|
| even if it may not for required..It may be a just a single sentence like " * Please select a category " |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Tue May 20, 2008 5:16 pm Post subject: |
|
|
Hi,
On line 621 of include/template/event_edit_tpl.php, change this line:
$_cal_tmpl->section_row(_EVENT_TYPES_, "<span id='category_span'>".$et_sel."</span>");
to this..
$_cal_tmpl->section_row(_EVENT_TYPES_, "<span id='category_span'>".$et_sel."</span> * Please select a category"); |
|
| Back to top |
|
 |
alper60
Joined: 29 Oct 2007 Posts: 39
|
Posted: Wed May 21, 2008 10:19 am Post subject: |
|
|
hi,
thanks Ian.with a little bit different it works.
I add it to line 625.:
| Code: |
| $_cal_tmpl->section_row(_EVENT_TYPE_, "<span id='category_span'>".$_cal_form->select("type", array('('._NONE_.')') + $_cal_event->cal_etypes) ."</span> * Please select a category."); |
cheers,
Alper |
|
| Back to top |
|
 |
|