jumpenjuhosaphat Posted April 16, 2007 Share Posted April 16, 2007 I've searched the smarty manual, and searched the smarty forums, but I couldn't find out what use this delimiter has. The only thing I could find about it is that it is a block delimiter. Does anyone know? It's being used in a PHPLD template. Link to comment https://forums.phpfreaks.com/topic/47165-smarty-tag-l-what-does-it-do/ Share on other sites More sharing options...
btherl Posted April 16, 2007 Share Posted April 16, 2007 Smart supports custom tags.. the details are here: http://smarty.php.net/manual/en/plugins.php Link to comment https://forums.phpfreaks.com/topic/47165-smarty-tag-l-what-does-it-do/#findComment-230033 Share on other sites More sharing options...
HeyRay2 Posted April 16, 2007 Share Posted April 16, 2007 Are you talking about when you see the "|" (pipe) character in a smarty tag? Something like: {$smarty.now|date_format} If so, that is a tag modifier. It allows you to format a smarty tag or set a default value. More info on modifiers is available here: http://smarty.php.net/manual/en/plugins.modifiers.php Link to comment https://forums.phpfreaks.com/topic/47165-smarty-tag-l-what-does-it-do/#findComment-230047 Share on other sites More sharing options...
jumpenjuhosaphat Posted April 16, 2007 Author Share Posted April 16, 2007 Thanks for the link, there wasn't anything there about the {L}. No, I'm not talking about the pipe character, the character is an "L". And there is nothing else in the delimiters with it, it's just {l}. Link to comment https://forums.phpfreaks.com/topic/47165-smarty-tag-l-what-does-it-do/#findComment-230093 Share on other sites More sharing options...
btherl Posted April 16, 2007 Share Posted April 16, 2007 Then it's a custom tag. I'm sure it'll be defined as a smarty plugin in the php code somewhere. There is no {l} tag in standard smarty. You can try searching the php code for "register_function" Link to comment https://forums.phpfreaks.com/topic/47165-smarty-tag-l-what-does-it-do/#findComment-230177 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.