View Full Version : Change the lenth of the description field
Yodaya
08-02-2005, 10:01 AM
Hi guys,
I would like to extend the length of the description field. I have found the following post about this topic:
http://www.phplinkdirectory.com/forum/viewtopic.php?t=52&start=0&postdays=0&postorder=asc&highlight=length
But just changing the field type from varchar to longtext does not work for me...
What else is there to do?
Could somebody tell me the necessary steps?
Thanks
Yodaya
seothatworks
08-02-2005, 11:26 AM
The answer is in that thread. You need to modify /admin/dir_links_edit.tpl
and submit.tpl. Namely, I belive there is a max lenght or some similar attribute there that needs to be modified to the required length.
Yodaya
08-02-2005, 02:13 PM
Hi,
thx for your answer.
Sorry but I have no clue about php or smarty! Here is the code from the submit.tpl:
Content visible to registered users only.
And here is the code fromm admin/dir_linkst.tpl:
Content visible to registered users only.
Could somebody tell me exactly what to change?
Thx
Yodaya
seothatworks
08-02-2005, 03:30 PM
Ooops, I am sorry, didn't read the thread attentively, that was only for url, title etc. Description doesn't seem to be limited via maxlenght.
Just tried to do it myself, but ended up being unable to change from varchar to longtext in my version of mysql, possibly due to some problems in that particular build of mysql.
David
08-02-2005, 04:37 PM
I think the description is limited to 255 characters. We would need to change the length in mysql by changing the field type to text. On a larger database (very large), there could be speed issues, especially with searches after making this change, but I know others have done this. Here is a topic where this was discussed:
http://www.phplinkdirectory.com/forum/viewtopic.php?t=52&highlight=varchar+text
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.