I'm working on an ajax template. I'd like to have a way to add/remove the template on the fly. I was thinking I could do this by the query string; something like this at the top of structure.pdt
So if the url contained ?template=off it would echo $content and then die... nothing else! If it doesn't die here, it'll continue down to output the full template, which is included below this in the file.
Not getting the desired out come; seeking possible option ideas?
Question
Bit Bayou
I'm working on an ajax template. I'd like to have a way to add/remove the template on the fly. I was thinking I could do this by the query string; something like this at the top of structure.pdt
So if the url contained ?template=off it would echo $content and then die... nothing else! If it doesn't die here, it'll continue down to output the full template, which is included below this in the file.
Not getting the desired out come; seeking possible option ideas?
11 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now