| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
giftcert.tpl unable to edit Smarty Error | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I have a weird problem I've been trying to edit the giftcart.tpl so that i can limit the amount of characters inputted in the gift cert message. no matter how i edit the file i get a smarty error message.
Error: Smarty error: [in modules/Gift_Certificates/giftcert.tpl line 203]: syntax error: invalid attribute name: '' title=$lng.lbl_gift_certificate_checking content=$smarty.capture.dialog extra='width' (Smarty_Compiler.class.php, line 1533) in C:\Inetpub\kapstore\shop\Smarty-2.6.12\Smarty.class.php on line 1095 line 203 is this {include file="dialog.tpl" ' title=$lng.lbl_gift_certificate_checking content=$smarty.capture.dialog extra='width="100%"'} This happens no matter what i do if i hit the space bar in an empty space and save it it get the error even if i undo it and save again i still get the error. I've tried editing in multiple editors even the x-cart template editor and i still have the same problem. Please help i'm going mad!!!
__________________
4.1.9 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Look at line 203 again. You have extra ' just before title
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#3
|
|||||||
|
|||||||
![]() Quote:
I took that out and i have the same problem. This only happens if i edit the file if i copy the file over from backup it works fine if i do anything to the file and save it then i get the error. even when i removed the quote and then put it back and saved i get the error
__________________
4.1.9 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() PHP Code:
Hi Try this. PHP Code:
__________________
MercuryMinds Technologies Development Team, Professional X-Cart Design, X-Cart Development, X-Cart Customization Services www.mercuryminds.com X-Cart Mailchimp Ecommerce 360 Plugin/integration module (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x) Smasher, a smart search engine for x-cart store (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x) One Page Checkout (OPC) - X-Cart module (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x) |
|||||||||
#5
|
|||||||
|
|||||||
![]() Quote:
Tried that and now got a different error Error: Smarty error: [in modules/Gift_Certificates/giftcert.tpl line 203]: syntax error: invalid attribute name: '=' (Smarty_Compiler.class.php, line 1533) in C:\Inetpub\kapstore\shop\Smarty-2.6.12\Smarty.class.php on line 1095
__________________
4.1.9 |
|||||||
#6
|
|||||||
|
|||||||
![]() Try this:
Code:
__________________
X-cart 4.1.10 |
|||||||
#7
|
|||||||
|
|||||||
![]() Quote:
same issues
__________________
4.1.9 |
|||||||
#8
|
|||||||||
|
|||||||||
![]() PHP Code:
Hey this is working . run a cleanup.php and then check it.
__________________
MercuryMinds Technologies Development Team, Professional X-Cart Design, X-Cart Development, X-Cart Customization Services www.mercuryminds.com X-Cart Mailchimp Ecommerce 360 Plugin/integration module (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x) Smasher, a smart search engine for x-cart store (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x) One Page Checkout (OPC) - X-Cart module (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x) |
|||||||||
|
|||
X-Cart forums © 2001-2020
|