Home · Links · Contact Us
Home arrow Forums
Home
Features
FAQ
Screen Shots
Modules
Themes
Demos
Documentation
Forums
Contact Us
Download
Purchase
Quotes

" ... I want to tell you that your thyme product is functional and valuable beyond words. I cannot imagine why any portal would be without it. It is the cornerstone of our new project ..."

" ... Thanks for such a complete project, its making my job much easier. ..."

" ... I have now deployed 4 different calendars and our users love them ... "

" ... Easy to install and use and a great look/design. ..."

" ... This has to be the easiest to use program I think I've had to deal with at all this year. ..."


  FAQFAQ    SearchSearch  RegisterRegister   Log inLog in 
Required for select category?

 
Post new topic   Reply to topic     Forum Index -> Hacking Thyme
View previous topic :: View next topic  
Author Message
alper60



Joined: 29 Oct 2007
Posts: 39

PostPosted: Mon May 19, 2008 7:08 pm    Post subject: Required for select category? Reply with quote

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
View user's profile Send private message
alper60



Joined: 29 Oct 2007
Posts: 39

PostPosted: Mon May 19, 2008 7:28 pm    Post subject: Reply with quote

even if it may not for required..It may be a just a single sentence like " * Please select a category "
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Tue May 20, 2008 5:16 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
alper60



Joined: 29 Oct 2007
Posts: 39

PostPosted: Wed May 21, 2008 10:19 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Hacking Thyme All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
© 2005 eXtrovert software unless otherwise noted. All rights reserved.
Portions © 2004 Ben Brown. All rights reserved.
Trademarks are property of their respective owners.