| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
I can't add a layer in Dreamweaver | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
I can't add a layer in Dreamweaver
Hello there, I want to add a layer with Dreamweaver in the customer/home.tpl file. When the layer is empty, no problem, but as soon as I put something in it I get this error message.
Fatal error: Smarty error: [in customer/home.tpl line 10]: syntax error: unrecognized tag: //reloads the window if Nav4 resized if (init==true) with (navigator) in /home/gcolor/public_html/catalog/Smarty-2.6.3/Smarty.class.php on line 1082 What's wrong? I never touched the line 10. Can someone help me.Please thanks Nicole Version 4 on Windows. |
|||||||
#2
|
|||||||
|
|||||||
When you create a layer with dreamweaver, it adds some javascript code to the page.
Something like: Code:
Wrap it in {literal}{/literal} tags... Make it look like: Code:
HTH
__________________
Emerson █ Total Server Solutions LLC- Quality X-Cart Hosting █ Recommended X-Cart Hosting Provider - US and UK servers █ Does your host backup your site? We do EVERY HOUR!!! █ Shared Hosting | Managed Cloud | Dedicated Servers |
|||||||
#3
|
|||||||
|
|||||||
Hi Nicole...editing templates with Dreamweaver can be tricky, as you have to actually look at the code view and not just the graphic view. There are Smarty tags imbedded in the code, and if you break these tags, the whole template will fail. Do you know HTML at all or are you just editing using the graphical view?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#4
|
|||||||
|
|||||||
I know HTML, and I use the design view too. Yes, I have noticed that sometimes, Dreamweaver adds some extra codes. What do you recommend?
|
|||||||
#5
|
|||||||
|
|||||||
Thanks, it's working now!
|
|||||||
|
|||
X-Cart forums © 2001-2020
|