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 02-07-2009 04:09 PM

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

JWait 02-10-2009 05:16 AM

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.

pfarcus 02-10-2009 04:45 PM

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

JWait 02-10-2009 06:02 PM

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.

pfarcus 02-20-2009 07:48 PM

Re: Longer keyword field / box?
 
I'm bumping this thread a bit, anyone know the local in 4.1.11 pro?

Thx

Padoodles 03-07-2009 01:58 PM

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

carpeperdiem 03-08-2009 05:05 AM

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)

pfarcus 03-08-2009 09:22 AM

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!

carpeperdiem 03-08-2009 11:24 AM

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.

ARW VISIONS 03-08-2009 12:04 PM

Re: Longer keyword field / box?
 
yeah, Im not sure what you are trying to lengthen.


All times are GMT -8. The time now is 09:26 PM.

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