Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Flynax error meta tag in content box

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
eurazvan10
Smarty n00b


Joined: 10 Aug 2014
Posts: 3

PostPosted: Sun Aug 10, 2014 1:37 pm    Post subject: Flynax error meta tag in content box Reply with quote

Hello. I made a platform Flynax site and I'd like to use meta tags in the text that I want to use: Used cars {location}. That visitor when entering a certain town to write to instead of {location} city that you entered. But I get this error

Quote:
System error occurred

Smarty error: [in evaluated template line 1]: syntax error: unrecognized tag 'location' (Smarty_Compiler.class.php, line 596)
line# 1093
file: /home/***/public_html/libs/smarty/Smarty.class.php
PHP version: 5.3.24
Used cars
Back to top
View user's profile Send private message
U.Tews
Administrator


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

PostPosted: Mon Aug 11, 2014 2:47 am    Post subject: Reply with quote

Smarty variables start with '$'.

Code:
{$location}
Back to top
View user's profile Send private message
eurazvan10
Smarty n00b


Joined: 10 Aug 2014
Posts: 3

PostPosted: Mon Aug 11, 2014 4:13 am    Post subject: Reply with quote

Not a result of that error disappeared but when I get in a given city nothing happens. I only appears "Used Cars"


Back to top
View user's profile Send private message
U.Tews
Administrator


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

PostPosted: Mon Aug 11, 2014 4:53 pm    Post subject: Reply with quote

Sorry, I can't help any further. You should contact the Flynax support how this functionallity must be implemented in detail.

This is out of the scope of the Smarty distribution.
Back to top
View user's profile Send private message
eurazvan10
Smarty n00b


Joined: 10 Aug 2014
Posts: 3

PostPosted: Tue Aug 12, 2014 8:13 am    Post subject: Reply with quote

but the html code to use {$location} I can leave?
Back to top
View user's profile Send private message
U.Tews
Administrator


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

PostPosted: Tue Aug 12, 2014 4:53 pm    Post subject: Reply with quote

I sugested {$location} because I thougt that a template variable with this name was used.

I have no glue in which way Smarty is used by Flynax. You have to talk to their support.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General 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