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

What does the # symbol mean in a template?

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


Joined: 22 Apr 2017
Posts: 1

PostPosted: Sat Apr 22, 2017 3:14 pm    Post subject: What does the # symbol mean in a template? Reply with quote

I'm new to Smary. I have inherited a project that uses it. I have come across this code:

Code:
<form action ="{#appRoot#}{$url}"  method="post" class="my-form">


I know that the "{$url}" will output the $url variable. But what does the "{#appRoot#}" do? I'm not sure what the # symbol does in smarty.[/code]
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1653

PostPosted: Sat Apr 22, 2017 6:47 pm    Post subject: Reply with quote

http://www.smarty.net/docs/en/config.files.tpl
http://www.smarty.net/docs/en/language.config.variables.tpl
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    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