![]() |
Longer keyword field / box?
Easy one right?
I can't seem to find where the heck to make that longer! Right now you can only see a few words at a time. Anyone? Thanks |
Re: Longer keyword field / box?
Are you referring to the "Search keywords:" box in admin? It should be the same width as the "SKU:" and "Product Name:" boxes. Anyway, in skin1_admin.css the class is "InputWidth" and it is set at "WIDTH: 80%;" by default.
|
Re: Longer keyword field / box?
Wow I cannot find that class anywhere in there. Is there a way to search for it? I looked at it in template editor as well as golive. (the reason is if its nice and long you can see all the keywords you've entered, it helps.)
thanks |
Re: Longer keyword field / box?
I didn't realize you are using Pro... I've never worked with it. But it is as I said in skin1_admin.css for the Gold version.
|
Re: Longer keyword field / box?
I'm bumping this thread a bit, anyone know the local in 4.1.11 pro?
Thx |
Re: Longer keyword field / box?
grab a copy of firebug for mozilla.
Then hit f12 - you can then inspect the element - you will see exactly what class its in - and what css file that class is defined in. hth |
Re: Longer keyword field / box?
If you are looking to lengthen the input text field for EXTRA FIELDS, this is not in the css.
in file, skin1/modules/Extra_Fields/product_modify.tpl find: Code:
<td><input type="text" name="efields[{$ef.fieldid}]" size="24" value="{if $ef.is_value eq 'Y'}{$ef.field_value|escape:"html"}{else}{$ef.value|escape:"html"}{/if}" /></td> and make size="100" (or whatever you want) |
Re: Longer keyword field / box?
I really thought that one was going to work, I don't see that it made anything longer, its still the same length as the product name box.
{* $Id: product_modify.tpl,v 1.12 2006/04/07 06:00:35 max Exp $ *} {foreach from=$extra_fields item=ef} <tr> {if $geid ne ''}<td width="15" class="TableSubHead"><input type="checkbox" value="Y" name="fields[efields][{$ef.fieldid}]" /></td>{/if} <td class="FormButton" nowrap="nowrap">{$ef.field}</td> <td><input type="text" name="efields[{$ef.fieldid}]" size="100" value="{if $ef.is_value eq 'Y'}{$ef.field_value|escape:"html"}{else}{$ef.valu e|escape:"html"}{/if}" /></td> </tr> {/foreach} Thanks for your help! |
Re: Longer keyword field / box?
This is the correct edit for EXTRA FIELDS
Which "keyword" field are you referring to? Use WEBMASTER MODE to determine the template to edit. The rest will be easy... look for input type="text" size="????" and make the size larger. |
Re: Longer keyword field / box?
yeah, Im not sure what you are trying to lengthen.
|
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 |
Re: Longer keyword field / box?
ok, I just added a size="50" after the word text and its good 2go
Thanks! |
Re: Longer keyword field / box?
thats the ticket!!!
|
Re: Longer keyword field / box?
Quote:
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? |
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!)
|
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.
|
Re: Longer keyword field / box?
NOPE, its as long as the product name box. (in 4.1.11)
|
Re: Longer keyword field / box?
Quote:
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. |
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:24 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.