Start a conversation

Using comments in Smarty template

Question:

> The poweredby.tpl isn't empty, so I didn't understand why

> it wouldn't show up, but I just noticed the content

> is between comments tags:


{*

....

*}


Answer:


In smarty templates this tag means commented out:

{* ... *}

it's the same as

< !-- .... -->

in HTML but the difference is that smarty comments are not shown on the result page (if you see the source of HTML page with your browser).


You can delete this code and put your own.

You can find more information about smarty here: http://smarty.php.net

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Admin FinestShops

  2. Posted
  3. Updated

Comments