OS Property support center

Limit characters of property title in Add property

  • kalesh.suby
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
11 years 7 months ago #18528 by kalesh.suby
Sorry if this option is already there I could not find it.

I could enter unlimited characters in property title. I cant beleive this option is not there.

Even in Kunena in this forum, the title characters are limited.

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #18533 by Mr. Dam
It's good idea. If you want to make the limit charaters when adding new property in the frontend, you can edit file
components > com_osproperty > classes > listing.html.php
lint 2694
<input type="text" name="pro_name" id="pro_name" value="<?php echo $row->pro_name?>" size="50" class="inputbox" /> <span class="required">(*)</span>

In this tag, you can add attribute maxlength to limit the characters entered.
Good luck !
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan