1 Attachment(s)
Re: textarea modification
Ok I was confused by that last thread ( geared towards olders versions )
In 1.3.7 you just make option values longer ( 255 ) and add rows.
But now I'm presented with two more problems.
1) the long text attribute makes checkout run off the page. It displays all 255 characters in a row.
In this thread http://www.zen-cart.com/forum/showthread.php?t=38386
There is this solution
Quote:
You're welcome! One other tip - I removed the <nobr> that was wrapping the attribute option value in tpl_checkout_confirmation.php around line 110 so that long message values wrap rather than push the page out.
However my file is named tpl_checkout_confirmation_default.php and there no reference to <nobr> in there. So where would I fix that?
2) The comments in product name are truncated when displyed on the page I think to 64.
Thanks.
Re: textarea modification
Solved problem two
Quote:
Seems your comment is being cut of because it is being stored in products_options_comment in the table products_options. The field is only set to VARCHAR(64) and will truncate anything beyond 64 characters. You could increase the size of that field with something like:
Code:
ALTER TABLE `products_options` CHANGE `products_options_comment` `products_options_comment` VARCHAR( 128 ) NULL DEFAULT NULL;
which would give you 128 characters.
Still have problem 1 I don't know where to edit to keep the page from running in checkout.
2 Attachment(s)
Re: textarea modification
Maybe some pictures will illustrate the problem.
Still haven't found out what to edit. It happens in checkout after you input 255 characters into the text box on the product info page. The above solution doesn't work.
Thanks.
Re: textarea modification
Other than supercalifragilisticexpialidocius what large words are you expecting to be added?
Re: textarea modification
Instructions that may be long. They need to be specific for the product as an attribute. The comment oncheckout wont work because there may be several products and thats just confusing.
There was a solution as described above but like I said that code isn't in my tpl.
Re: textarea modification
I always add a space between my words so that it is clearer to read ... :smile:
Try the 250 characters and breath between every 6th to 12th character ... see if that doesn't look nicer ... :lamo:
Re: textarea modification
Darn!!! I beat my brains tryin to figure that out.:blush:
It was the lack of spaces. :laugh:
Thanks. I would have been diggin at it forever.:yes:
Re: textarea modification
:P
Wonder how I know about that nasty little test? :lamo:
Thanks for the update and happy testing!! :smile: