Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Height of option box, I must be stupid

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-16-2003, 07:58 AM
 
Rob Rob is offline
 

Advanced Member
  
Join Date: Mar 2003
Posts: 83
 

Default 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.
Reply With Quote
  #2  
Old 05-16-2003, 08:24 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

<textarea name="textarea" rows="5"></textarea>
__________________
ex x-cart guru
Reply With Quote
  #3  
Old 05-17-2003, 10:04 AM
 
Rob Rob is offline
 

Advanced Member
  
Join Date: Mar 2003
Posts: 83
 

Default 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
Reply With Quote
  #4  
Old 05-18-2003, 01:39 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

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
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #5  
Old 05-19-2003, 07:47 AM
 
Rob Rob is offline
 

Advanced Member
  
Join Date: Mar 2003
Posts: 83
 

Default 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?
Reply With Quote
  #6  
Old 05-19-2003, 08:32 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

This is just basic html realy.

have a look on amazon and se what turns up
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:17 AM.

   

 
X-Cart forums © 2001-2020