X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Longer keyword field / box? (https://forum.x-cart.com/showthread.php?t=45426)

pfarcus 03-08-2009 02:29 PM

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

pfarcus 03-08-2009 02:39 PM

Re: Longer keyword field / box?
 
ok, I just added a size="50" after the word text and its good 2go

Thanks!

ARW VISIONS 03-08-2009 04:23 PM

Re: Longer keyword field / box?
 
thats the ticket!!!

carpeperdiem 03-08-2009 04:26 PM

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?

pfarcus 03-08-2009 05:59 PM

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!)

carpeperdiem 03-08-2009 06:21 PM

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.

pfarcus 03-08-2009 07:28 PM

Re: Longer keyword field / box?
 
NOPE, its as long as the product name box. (in 4.1.11)

carpeperdiem 03-08-2009 07:48 PM

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.

pfarcus 03-09-2009 06:01 AM

Re: Longer keyword field / box?
 
I see what you mean. No, they were never that long, even before I began modding.


All times are GMT -8. The time now is 01:21 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.