View Full Version : Terms & Conditions - maximum characters
marc-man
06-May-2003, 11:11 AM
Is it possible to increase the maximum amount of characters for each section of the Terms & Conditions within Business Settings?
My client has there own very in-depth Terms & Conditions that I am trying to insert in the 'About US' section (its not possible to split the T&Cs up)
When trying to paste in the T&Cs I get the following message:
"The field text inclusive NETQUOTEVARs cannot be longer than 20000. The text will be truncated."
I only need to fit about 10 more lines in. I have already removed some info but cannot alter any more of it.
marc-man
07-May-2003, 08:45 AM
OK, Ive come up with a work around (for now). I have inserted the T&Cs into the order templates and taken them out of 'Business Settings/Terms & Conditions'.
If any one can come up with a way of increasing the max characters in 'Business Settings/Terms & Conditions' I would like to hear it.
Marc
Infolink
07-May-2003, 07:44 PM
Not sure if this would work........
It may be just an arbitary field length set in the database, you could try examining it in Access and changing it.
It may be possible to avoid the error / size check by pasting it into Access directly and seeing what happened. At worse it will just truncate again.
Phil
I'm sure that will not work - the application sets the length of fields and from the size of the current restriction it looks to me to be at the biggest already. I'm often wrong though.
Regards
NormanRouxel
07-May-2003, 08:27 PM
Rather than embedding them in a template, why not try put them in a file ( say terms.html ) and in the template have:-
NETQUOTEVAR:INCLUDE terms.html
and that's that.
Note that the netquotevar:include seems to prefer being on a line on it's own.
Norman
marc-man
08-May-2003, 08:38 AM
Thanks Norman, that works a treat and keeps the templates much cleaner. Im learning something new every day.
Thanks again
Marc
Infolink
08-May-2003, 11:23 AM
Norman,
Does it do that during the build process or as an embedded include in the site html, in which case does it then need server side includes to be activated?
Just wondered as on the Raq servers SSIs are not a default setting.
BTW did you try and call me a week or so ago Norman?
Phil
NormanRouxel
08-May-2003, 12:54 PM
Phil,
No SSI needed. This is at build code time within Actinic.
I also posted a trick recently that allowed a frequently changing bit of text (like the date the site was last updated) to be included on every page (via Act_Primary) without this causing all pages to need uploading.
basically instead of NETQUOTEVAR:INCLUDE <myfile.text>
I used <SCRIPT LANGUAGE="JavaScript" SRC="myfile.text" TYPE="text/javascript"></SCRIPT>
wjere myfile.text contained just 1 line:-
document.write('The frequently changing text');
Norman
p.s. No I wasn't trying to contact you.
Infolink
08-May-2003, 01:34 PM
Norman,
Just wondered in that someone (with a strong Scots accent) was trying to flog me something to do with the Normenu package - but I didn't get any further as I was on the M5 doing a tad over the limit at the time & chatting on the mobile wasn't sensible!
Phil
NormanRouxel
08-May-2003, 02:11 PM
Just wondered in that someone (with a strong Scots accent) was trying to flog me something....
It wisnae me, ah wisnae there, I didnae doo it. :)
Hmmm... Normenu is freeware. Anyone with a little bit of technical knowledge should be able to implement it.
It's quite nice to see it turning up on all sorts of sites that I didn't know about.
Norman
p.s. Plug_mode:=on. I have just done a seriously useful (and not free) extension that implements a Colour / Size type matrix of quantity buttons. Ideal for wholesalers who have to sell lots of variations on the same product. See it on:-
http://www.drillpine.biz/aura/acatalog/Shirt_Sizes_Demo.html
where it's alongside another extension - image maps to aid in selecting a choice.
Infolink
08-May-2003, 02:25 PM
Freeware maybe, but it came over as sellware during this brief call - I told them to call back when it was a better time, if they do I'll find out more and let you know if they are selling it!
Phil
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.