Lordeagle
Waplocus Check it out, it workd 4me bak den
Waplocus
Graham Please Will <head>
<xt:include file="/FOLDER/FILE" /></head> Wrk 5n?
Graham
Waplocus that is the code headtags cannot be turned off like header and footer
all you have to do is change the examples in
# Alt headtags pages data variable
var $alt_headtags_pages = {{:
folder/page|
folder/|
sub.domain.com|
domain.com/sub|
test=1|
:}}
to the file querystring folder or subdomains on your site that you want to turn off headtags
copy your normal tags to
# Output the normal headtags and exit
print {{ Normal Headtags }}
and either leave it blank or set alternative tags in
# Output the alternative headtags and exit
print {{ Alternative Headtags }}
And then copy the code to your _headtags file
if you take out all the remarks and empty lines it's quite a short code
Waplocus
Lordeagle I Didn't Understand Anything Ova Der, Please Explain Beta Nd Drop Exact Code...
Waplocus
Graham How Can We Disable _headtags On Specific Page?
Graham
The _headtags file is included raw and unfiltered into all pages and cannot be disabled so it should only be a text file not a full html page and only contain code valid in headers _header and _footer are included as the first and last items on the page and they are filtered (only the content inside the body tags is used)
_header and _footer can be disabled from the page options
it is possible to disable or change the _headtags file using a xtscript in the _headtags that checks the page name before being outputting the code
kilasan
onedc thanks for reply...
i know that, but all content my site using file _headtags on the top tag (document type) . i want to protect it file,if i change other name file not solve cz not in code <head> but in code <body>. please someone give me solution about my problem.
onedc
kilasan There is no way to protect that file cause its just a plain text file.
kilasan
how to protect file _headtags sir?