Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Txp:Die
<txp:die status="404" />
I've added that to one of my pages, because I want to work on it a bit before releasing it public-side, but I can still see the page? Is their a problem with my code? x
~ Cameron
Offline
Re: Txp:Die
There is typo (also present in Textbook examples); The tag is <txp:txp_die />
(as die() is reserved core php function, it has to be something else).
So use instead:
<txp:txp_die status="404" />
Edit. Fixed examples and docs in Textbook. – from txp:die to txp:txp_die.
Last edited by Gocom (2008-09-15 21:07:52)
Offline
Re: Txp:Die
Cool :) Seems I have assisted the community with something worthwhile :P
~ Cameron
Offline
Pages: 1