REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Twig
#1
Plugin: Twig
Description: Twig template engine for MyBB
Author: AliReza_Tofighi
You can use Twig as the template engine with this plugin.
For example you can use this code:
PHP Code:
Welcome 
{% if mybb.user.uid == '0' %}
Guest
{% else %}
{{ 
mybb.user.username }}
{% endif %} 
download:


Attached Files
.zip   4380-1402571852-Twig.zip (Size: 160.83 KB / Downloads: 2)
Reply


Messages In This Thread
Twig - by tofighi - Jun 16, 2014, 05:09 AM
RE: Twig - by L34XXOR - Jan 27, 2015, 10:04 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)