logo
Home XtGem- Templates- XtScript- bottom

XtGem twig files

Advanced users only
Description
XtGem allows use of the "twig" php template language to re-write the Xtgem blog forum guestbook and chat functionsFamiliarize yourself with the basic structure of twig templates
Twig templates documentation

How to use The twig files

Create a folder named _xtgem_templates
Upload these files to that folder using the "Remote server" option

Blog

Rename the file xtblog.twig

Tags in post list
There is an extra piece of twig code for the blog that shows the tags associated with a post in the post list
this code should be inserted in to the xtblog.twig file in the
{% block entries_list %} area that displays the post list
It's exact position depends on where you wish to show the tags but it should be inside the div
<div class="xt_item">
this code is just a suggestion you can customize it to suit your blog
To activate the feature add include_tags_in_post_list="1" to the xtblog function

Forum
There are two twig files for the forum the main file

And the blocks file
Upload both files and then remove the .js from the filename

GuestBook
Upload the file and then remove the .js from the filename

ChatRoom
Upload the file and then remove the .js from the filename

NOTE:
ONLY EDIT WITH THE TEXT EDITOR
Powered by XtGem
About us Contact Forum topÂ