Graham
tiaxgame what was this for ? showing the number of entries ?
We are adding a special function for that it will be live later <xt:guestbook_count /> (not working yet but in a few hours) and as for the original problem if you do not need it to represent a mathematical equation try using something other than - and there is no problem
$data=(8:2)
print $data
tiaxgame
Graham yes!
Problem is
Var $data = <xt:guestbook />
Print $data
=> (8-2)
Allway bar 6
I want fix it
Graham
tiaxgame I do not know your full code so I have no idea
Graham
tiaxgame
Ok I have found a solution and I am also giving you a whole new toy to play with
You need to install
the guestbooks twig file
1/ create a folder named
_xtgem_templates
2/ create a plain text file named
xtguestbook.twig in
_xtgem_templates
3/
go to this page and copy the code for the twig file to
xtguestbook.twig
Open and edit with code editor only
4/ in the
xtguestbook.twig file find line 49
<div class="xt_blog_comment_content">{{ comment.message|raw }}</div>
5/ replace that line with
<div class="xt_blog_comment_content">{{ comment.message|replace({'(': "(", ')': ")"})|raw }}</div>
The documentation for twig is at
http://twig.sensiolabs.org/doc/templates.html
This will replace ( and ) in posts with ( and )
There is also a twig file for the blog this goes in the same folder and is named xtblog.twig
The code is at
https://dl.dropboxusercontent.com/u/2162515/xtgem_blog.twig
have fun
test page http://guestbook.yn.lt