Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Invalid Attribute Name error when template is referencing Pl

 
Post new topic   Reply to topic    Smarty Forum Index -> Plugins
View previous topic :: View next topic  
Author Message
bsmurfy
Smarty n00b


Joined: 29 Nov 2011
Posts: 3

PostPosted: Tue Nov 29, 2011 7:24 pm    Post subject: Invalid Attribute Name error when template is referencing Pl Reply with quote

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
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 5067
Location: Hamburg / Germany

PostPosted: Tue Nov 29, 2011 7:38 pm    Post subject: Reply with quote

How does your template source look like where you reference the plugin?
Back to top
View user's profile Send private message
bsmurfy
Smarty n00b


Joined: 29 Nov 2011
Posts: 3

PostPosted: Tue Nov 29, 2011 7:40 pm    Post subject: Reply with quote

Here it is.

Code:
{google_analytics track_code=$track_code is_header=$is_header..}
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7365
Location: Lincoln Nebraska, USA

PostPosted: Tue Nov 29, 2011 8:06 pm    Post subject: Reply with quote

what are the dots on the end for? that won't work. that's what it's complaining about.
Back to top
View user's profile Send private message Visit poster's website
bsmurfy
Smarty n00b


Joined: 29 Nov 2011
Posts: 3

PostPosted: Tue Nov 29, 2011 11:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Plugins All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP