Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Clone the file PF.Base/module/friend/template/default/block/mini.html.php into your themes html/ folder. Rename the clone file to friend.block.mini.html.php. Modify this file will help you overwrite the original block file. Same as the original file, you can use module template engine (phpFox engine template using in core modules, similar to Smarty) in this file. This way is very useful and easy in the case you only want to make some mini changes on the template. (Requires: 4.4.0+)
  2. If you want to re-write the template completely or want to use the Twig engine template(new template engine phpFox using for apps), create a file called friend.block.mini.html in your themes html/ folder.

...