| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Display HTML in Extra fields | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
Re: Display HTML in Extra fields
Well if you used that code it wouldn't work, the correct code would be:
<IMG src="{ImagesDir}/icon.gif"> but I don't think Smarty will work in that field. You may need to use skin1/images/icon.gif instead.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#12
|
|||||||
|
|||||||
Re: Display HTML in Extra fields
After trying what I thought was everything, it was with absolutely no expectation that I hit refresh after updating the code. It worked. Woo-hoo!
Thanks a lot, B.
__________________
xcart v4.0.18 [linux] Loyalty Points, DSEFU, Easy Checkout, Featured Product Manager, Remember Me, Relevant Search, Vertical Flyouts, Multiple Category Templates. Loads of other tweaks and mods learned in forums. |
|||||||
#13
|
|||||||
|
|||||||
Re: Display HTML in Extra fields
Grant
Not seeing anything in admin. here is code i have input: Quote:
Quote:
Quote:
Quote:
Obviously coded wrong somewhere as it isn't showing frontend or adminend. but cannot see it. BTW name is the vaiable in extrafield and 5 is the number. Thanks
__________________
X-Cart Version 4.1.5 | MySQL 4.1.21 | PHP 4.4.3 | Apache Apache/1.3.37 (Unix) |
|||||||
#14
|
|||||||
|
|||||||
Re: Display HTML in Extra fields
Not Sure if this warrants its own thread or not. I had already made the input box into a text area for the extra_fields. However, it appears as if its defined as a varchar(255) in mysql, because its chopping of larger bits of text. Where can i change the datatype that is uses when creating the field in the database to tinytext or somthing a bit larger than 255. Or is it somthing else truncating my strings.
__________________
-matt version 4.1.5 |
|||||||
#15
|
|||||||
|
|||||||
Re: Display HTML in Extra fields
As of v 4.1.5 the field you want (to increase the extra field capacity) is in the 'xcart_extra_field_values' table and you'll want to change the 'value' fields datatype to text, blob, etc
__________________
-matt version 4.1.5 |
|||||||
|
#16
|
|||||||||
|
|||||||||
Re: Display HTML in Extra fields
Is there anybody who wants to show what this does?
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie ----------------------------------------------------------------------------------------------------------------------------------------- Looking for the best dutch language pack? 4.1.x - 4.6.x compatibel, native speaker translation! More info |
|||||||||
#17
|
|||||||
|
|||||||
Re: Display HTML in Extra fields
if I put a form into the extra filed, will I be able to pass the vars to the cart?
__________________
X-Cart version 4.0.19 |
|||||||
#18
|
|||||||
|
|||||||
Re: Display HTML in Extra fields
Does anyone know if there is a way to make this work on product.tpl. The reason is that although the extra fields sre already shown it would allow me to locate the html field in a different location to the others.
|
|||||||
#19
|
|||||||||
|
|||||||||
Re: Display HTML in Extra fields
Quote:
Ditto.
__________________
XCART 4.1.8 [Linux] |
|||||||||
#20
|
|||||||||
|
|||||||||
Re: Display HTML in Extra fields
Does anyone know if this will work in version 4.1.9?
Thanks |
|||||||||
|
|||
X-Cart forums © 2001-2020
|