* Graham  
ADVANCED USERS ONLY
Xtgem uses twig templates to create the markup of forum blog and guestbook
Twig is a php template engine the documentation for the template development tools is available at
http://twig.sensiolabs.org/doc/templates.html
You do not need a php upgrade to use these twig files

First create a folder named _xtgem_templates in the main file browser (root)
this folder is where xtgem expects to find the main twig files
For the security of your twig files any folder starting with _xtgem is unavailable to other xtgem functions or links

Note: to allow the use of "upload by remote server" most of the files have a .js extension this should be removed after upload
Do not edit twig files with the building tool you must use the code editor

FORUM
There are two twig files for the forum the main file
http://syntax.xtgem.com/_templates/xtforum.twig.js
And the blocks file
http://syntax.xtgem.com/_templates/my_blocks.twig.js
both are required

BLOG
The blogs twig fie has a dropbox url
https://dl.dropboxusercontent.com/u/2162515/xtgem_blog.twig
upload this and rename it
xtblog.twig

GUESTBOOK
The guestbooks twig file
http://syntax.xtgem.com/_templates/xtguestbook.twig.js

CHATROOM
Chat function twig file
http://syntax.xtgem.com/_templates/xtchat.twig.js upload it by "remote server" to _xtgem_templates and then remove the .js extension
This is a rather complex script as it include javascript ajax and the css
2014-05-12 20:21 (edited 2014-08-20 13:14 by Graham ) · (0)

Online: Guests: 1