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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.