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

Longer keyword field / box?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 03-08-2009, 02:29 PM
 
pfarcus pfarcus is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 179
 

Default Re: Longer keyword field / box?

I'm pretty sure this is the right bit, I don't see a "text size" anywhere. Its in main/product_details.tpl and its the "search keyword" field to enter keywords when you are creating a product.

tr>
{if $geid ne ''}<td width="15" class="TableSubHead"><input type="checkbox" value="Y" name="fields[keywords]" /></td>{/if}
<td class="FormButton" nowrap="nowrap">{$lng.lbl_keywords}:</td>
<td class="ProductDetails"><input type="text" name="keywords" class="InputWidth" value="{$product.keywords|escape:"html"}" /></td>
</tr>

thanks
__________________
CDSEO PRO
4.1.11 PRO
Dynamic images by xcartmod.com
X-Cart CSSTemplate/Skin for v4.1.11 PRO
Reply With Quote
  #12  
Old 03-08-2009, 02:39 PM
 
pfarcus pfarcus is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 179
 

Default Re: Longer keyword field / box?

ok, I just added a size="50" after the word text and its good 2go

Thanks!
__________________
CDSEO PRO
4.1.11 PRO
Dynamic images by xcartmod.com
X-Cart CSSTemplate/Skin for v4.1.11 PRO
Reply With Quote
  #13  
Old 03-08-2009, 04:23 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Longer keyword field / box?

thats the ticket!!!
__________________
xcart 5.1.2
Reply With Quote
  #14  
Old 03-08-2009, 04:26 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Longer keyword field / box?

Quote:
Originally Posted by pfarcus
ok, I just added a size="50" after the word text and its good 2go

Thanks!

But this shouldn't be an issue. The text input for this field defaults to 80% of the <td>. There should be 110 characters or so in a default installation. Curious as to why your input field is too small... did you constrain the size of the table?
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #15  
Old 03-08-2009, 05:59 PM
 
pfarcus pfarcus is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 179
 

Default Re: Longer keyword field / box?

IMHO, It's too small because when you have to enter 10-15 keywords, its nice to be able to see most of them instead of three at a time. Also, it should encourage people to enter as many as they can think of. (fill out that long box you!)
__________________
CDSEO PRO
4.1.11 PRO
Dynamic images by xcartmod.com
X-Cart CSSTemplate/Skin for v4.1.11 PRO
Reply With Quote
  #16  
Old 03-08-2009, 06:21 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Longer keyword field / box?

The text input box should fill your screen by default. That's my point. You should have room for 110-120 characters, BY DEFAULT.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #17  
Old 03-08-2009, 07:28 PM
 
pfarcus pfarcus is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 179
 

Default Re: Longer keyword field / box?

NOPE, its as long as the product name box. (in 4.1.11)
__________________
CDSEO PRO
4.1.11 PRO
Dynamic images by xcartmod.com
X-Cart CSSTemplate/Skin for v4.1.11 PRO
Reply With Quote
  #18  
Old 03-08-2009, 07:48 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Longer keyword field / box?

Quote:
Originally Posted by pfarcus
NOPE, its as long as the product name box. (in 4.1.11)

Look at xcart demo store. Both Gold and Pro are the same:

http://xcart-demo.qualiteam.biz/demo/provider/product_modify.php?productid=17518&page=1

Input box is as wide as the page. There must be something in your code that's not letting the <td> expand.

Whatever... I'm happy you found resolution.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #19  
Old 03-09-2009, 06:01 AM
 
pfarcus pfarcus is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 179
 

Default Re: Longer keyword field / box?

I see what you mean. No, they were never that long, even before I began modding.
__________________
CDSEO PRO
4.1.11 PRO
Dynamic images by xcartmod.com
X-Cart CSSTemplate/Skin for v4.1.11 PRO
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 09:40 PM.

   

 
X-Cart forums © 2001-2020