Using 1.11.10 and latest modules
3 col site: #left, #main and #right.
Template: {content} is in #main
#left has {content block="second_content_block" label ="Left"}
#right has {content block="third_content_block" label ="Right"}
This syntax has always worked for me until now:
Error: at line 302 in file /home/mydomain/public_html/avalon/lib/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php:
Message:
Syntax error in template "content:second_content_block" on line 302 "{mso-style-name:"Table Normal";" - Unexpected ":", expected one of: "}"
I changed the #left to {content block=second_block label="Left"} and it works again. I left #right as it was.
Have no idea what this error message means as there is no ":" in the template. Cleared the cache to no avail.
Can anyone shed any light as to why I get the error message with the {content block="second_content_block" label="Left"} syntax?
Thanks
[Solved]Strange {content block} syntax error
[Solved]Strange {content block} syntax error
Last edited by jasnick on Fri Apr 25, 2014 3:29 am, edited 1 time in total.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Strange {content block} syntax error
Code: Select all
Syntax error in template "content:second_content_block" on line 302 "{mso-style-name:"Table Normal";" - Unexpected ":", expected one of: "}"
looks like a paste from word issue.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Strange {content block} syntax error
Thanks calguy1000
I thought the error was in the template - didn't think to look at the page. You're probably right - I cut and pasted some Lorem ipsum dolor sit amet, consectetuer adipiscing elit...just to check layout.
I'll remember that! Thanks for the heads up
I thought the error was in the template - didn't think to look at the page. You're probably right - I cut and pasted some Lorem ipsum dolor sit amet, consectetuer adipiscing elit...just to check layout.
I'll remember that! Thanks for the heads up
