* Aash Help me to get the value of _xtblog_tag inside a xtscript. i want to change the title tag of the page when a tagged page is opened. i tried this for testing but it didnt return any value its blank:
<title><!--parser:xtscript-->
        get _xtblog_tag
        if _xtblog_tag
        assign $tag=$_xtblog_tag
        print News, Articles &amp; Announcements! - Tagged with $tag $_xtblog_tag!
        else
        print News, Articles &amp; Announcements!
        endif
       <!--/parser:xtscript--></title>

Copy code
2016-06-30 13:58 (edited 2016-06-30 13:59 by Aash ) · (0)
* Lordeagle * Aash One the variable u used is not correct, it's __xtblog_tag and not _xtblog_tag
And it will better if U use this
<title><!--parser:xtscript-->
        get __xtblog_tag
        if $__xtblog_tag
        assign $tag=$_xtblog_tag
        print News, Articles &amp; Announcements! - Tagged with $tag!
        else
        print News, Articles &amp; Announcements!
        endif
       <!--/parser:xtscript--></title>

Copy code
2016-06-30 14:18 (edited 2016-06-30 14:24 by Lordeagle ) · (0)
* Aash * Lordeagle Let's see if it works, Thanks anyway!
2016-07-01 05:52 · (0)

Online: Guests: 1