Jump to content

Smarty tag {l} - What does it do?


jumpenjuhosaphat

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.