* alizainal.aljufri Master, can you corect this code?
<!--parser:xtscript-->
get __xtblog_blog_page
var $heading = Xtpedia
if $__xtblog_blog_page > 1
var $title = Page $__xtblog_blog_page - $heading

else
get __xtblog_tag
if $__xtblog_tag
var $title = Category "$__xtblog_tag" - $heading

else
get __xtblog_search
if $__xtblog_search
var $title = Search "$__xtblog_search" - $heading

else
var $title = $heading
else
var $title = $heading
else
var $title = $heading

endif
print <title>$title</title>
<!--/parser:xtscript-->

Copy code
I want to edit title paging of tags and search, help please!
2015-03-03 23:27 · (0)
* Graham * alizainal.aljufri
<!--parser:xtscript-->
get __xtblog_blog_page
get __xtblog_tag
get __xtblog_search
var $heading = Xtpedia

if $__xtblog_blog_page > 1
var $title = Page $__xtblog_blog_page - $heading
elseif $__xtblog_tag
var $title = Category "$__xtblog_tag" - $heading
elseif $__xtblog_search
var $title = Search "$__xtblog_search" - $heading
else
var $title = $heading
endif
print <title>$title</title>
<!--/parser:xtscript-->

Copy code

Xtscript does not like nested if's
2015-03-04 00:16 · (0)
* alizainal.aljufri * Graham Thanks for the explanation and assistance. So what if I want to combine the two functions of different variables? For example, for a title tag page 2 - Xtpedia
2015-03-04 01:56 · (0)

Online: Guests: 1