Welcome, Guest
Username Password: Remember me

Teacher Title database field is limited
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Teacher Title database field is limited

Teacher Title database field is limited 30 Jan 2010 21:33 #1743

  • Jack L
  • OFFLINE
  • Junior Boarder
  • Posts: 29
Hi!

I just found out that the Teacher Title field is limited to 50 characters only, is there a way to increase this? We have Pastors that handles two ministries or more and the title become longer than 50 characters.

Thanks!

Re:Teacher Title database field is limited 30 Jan 2010 21:43 #1744

  • Jack L
  • OFFLINE
  • Junior Boarder
  • Posts: 29
Fixed it by editing the field in the database table prefix_bsms_teachers and changed the title field from varchar(50) to varchar(250).

Then edited the file in frontend, components/com_bible_study/views/teacheredit/tmpl/form.php on line 81:

From:

<input class="text_area" type="text" name="title" id="title" size="50" maxlength="50" value="<?php echo $this->teacheredit->title;?>" />

To:

<input class="text_area" type="text" name="title" id="title" size="50" maxlength="250" value="<?php echo $this->teacheredit->title;?>" />

Then edited the file in administrator, components/com_bible_study/views/teacheredit/tmpl/form.php on line 48:

From:
<input class="text_area" type="text" name="title" id="title" size="50" maxlength="50" value="<?php echo $this->teacheredit->title;?>" />

To:
<input class="text_area" type="text" name="title" id="title" size="50" maxlength="250" value="<?php echo $this->teacheredit->title;?>" />

Thanks!

Re:Teacher Title database field is limited 01 Feb 2010 08:30 #1751

  • Tom
  • OFFLINE
  • Administrator
  • Posts: 860
Thanks, Jack. I'll put this in as a feature request for version 6.2 reflecting your changes.

Maybe you'd like to join us in developing the component?
"You shall know the truth and the truth shall set you free." JC

Re:Teacher Title database field is limited 01 Feb 2010 20:29 #1755

  • Jack L
  • OFFLINE
  • Junior Boarder
  • Posts: 29
I'd love to Tom, count me in. This is my only way to give back for this blessing. I'll start developing our church website this week and been playing with this component and I just love it and can't stop. Let me know.

Thanks!

Re:Teacher Title database field is limited 02 Feb 2010 07:40 #1758

  • Tom
  • OFFLINE
  • Administrator
  • Posts: 860
That sounds great! Go to the JoomlaCode page: joomlacode.org/gf/project/biblestudy/ and request to join the project. I'll set you as a developer. Eugen Istok I think is going to organize the developers soon. Also, send me a quick email through the Private Contact link at the bottom - I want you to also join our Team site where we put feature requests and bug reports for development.

Blessings,

Tom
"You shall know the truth and the truth shall set you free." JC
  • Page:
  • 1
Time to create page: 0.78 seconds