Have 2 questions about field lengths - I know how to change the box widths on the suggestlink.tpl so that is not the question
Q1. On the suggestlink.tpl the description length is set to 100 characters if I am not mistaken and would appear to be controlled by {DESCRIPLENGTH}
How do I increase or decrease the amount of characters allowed, did have a good look around but could not find {DESCRIPLENGTH}
Q2. When setting up an extra text field eg. {LINKBIO} am I correct in think that I can limit the number of characters input and subsequently displayed by using ' max characters 'facility or am I also going to have to set the number of characters in the Database as well
1) Admin->Settings->Links, set number of characters for descriptions.
2) Use the HTML maxlength="20" for input boxes. I don't think there's a native html way to limit textareas so you'd have to use a javascript hack, like the description does.
Comments on Changing a text field length
Member
Usergroup: Customer
Joined: Dec 16, 2006
Total Topics: 9
Total Comments: 29
Hello everyone,
Have 2 questions about field lengths - I know how to change the box widths on the suggestlink.tpl so that is not the question
Q1. On the suggestlink.tpl the description length is set to 100 characters if I am not mistaken and would appear to be controlled by {DESCRIPLENGTH}
How do I increase or decrease the amount of characters allowed, did have a good look around but could not find {DESCRIPLENGTH}
Q2. When setting up an extra text field eg. {LINKBIO} am I correct in think that I can limit the number of characters input and subsequently displayed by using ' max characters 'facility or am I also going to have to set the number of characters in the Database as well
Mel
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
1) Admin->Settings->Links, set number of characters for descriptions.
2) Use the HTML maxlength="20" for input boxes. I don't think there's a native html way to limit textareas so you'd have to use a javascript hack, like the description does.
Member
Usergroup: Customer
Joined: Dec 16, 2006
Total Topics: 9
Total Comments: 29
[quote=Paul]1) Admin->Settings->Links, set number of characters for descriptions.quote]
Thanks Paul - I looked everywhere except the most obvious place, I will look harder next time
Mel