|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
bsmurfy Smarty n00b
Joined: 29 Nov 2011 Posts: 3
|
Posted: Tue Nov 29, 2011 7:24 pm Post subject: Invalid Attribute Name error when template is referencing Pl |
|
|
I'm getting the following error message from my template file when I'm trying to reference a plug-in.
"syntax error: invalid attribute name: '...' (Smarty_Compiler.class.php, line 1540) in Smarty/Smarty.class.php on line 1099 "
Any ideas? |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Tue Nov 29, 2011 7:38 pm Post subject: |
|
|
How does your template source look like where you reference the plugin? |
|
Back to top |
|
bsmurfy Smarty n00b
Joined: 29 Nov 2011 Posts: 3
|
Posted: Tue Nov 29, 2011 7:40 pm Post subject: |
|
|
Here it is.
Code: | {google_analytics track_code=$track_code is_header=$is_header..} |
|
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Tue Nov 29, 2011 8:06 pm Post subject: |
|
|
what are the dots on the end for? that won't work. that's what it's complaining about. |
|
Back to top |
|
bsmurfy Smarty n00b
Joined: 29 Nov 2011 Posts: 3
|
Posted: Tue Nov 29, 2011 11:14 pm Post subject: |
|
|
Ok thanks, I thought so based on the message. I removed them, and I will have it run through the test tonight. Hopefully that was it. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|