Global Template Variable

Unmaintained Global Template Variable

Compatible XF 1.x versions
  1. 1.4
  2. 1.5
This is a simple example about how to create variables that can be accessed in all templates.

This code uses "template_create" listener.
On this code, 2 variables are created, which are "$is_handsome", and "$is_fat".
Both variables are set directly within
Code:
/library/Test/GlobalTemplateVariable/Listener.php
...
You do not have permission to view the full content of this resource. Log in or register now.
Author
HappyWorld
Views
2,435
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from HappyWorld

Top Bottom