![]() |
Height of option box, I must be stupid
I am trying to find where I can change the height of the option box. My client need a box where people can write in text. I can't figure out how to make the option box more than 1 line high. I found I can make the box longer in the product.tpl file, but I can't figure out how to make it taller.
Thanks in advance. |
<textarea name="textarea" rows="5"></textarea>
|
I must be REALLY stupid to not get this.
Hello Funkydunk,
Thanks for the quick reply. Where do I put the code you sent? Does it go in the product.tpl somewhere? I couldn't find a "textarea" wording anywhere within the file so I must be missing something. I'm using version 3.3.3 There is definately a donation for you in this one. I realize you go out of your way a lot in this forum. Thanks, Rob |
i think your after this.
in skin1/modules/products options/customer_options.tpl change Code:
<input type=text name="product_options[{$product_options[product_option].optclass}]" size=32> to Code:
<textarea name="product_options[{$product_options[product_option].optclass}]" cols="32" rows="5"></textarea> see if that helps |
Perfect!
Just what I was looking for. I'm going to have to get a book on PHP(?) so I can understand why that particular line did what it did.
Could you be so kind as to make a recomendation where to start learning how to do these things on my own? |
This is just basic html realy.
have a look on amazon and se what turns up |
All times are GMT -8. The time now is 06:05 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.