LostKobrakai Posted January 9, 2015 Posted January 9, 2015 I'm currently building my first website which includes clientside templating. Now some templates look different in templates but don't use different data, so I want to include a get variable switch which will only send the date to generate the breadcrumb instead of the whole template data. Now my question is, can I somehow interrupt the template rendering of processwire from an _init.php which is prepended?
LostKobrakai Posted January 9, 2015 Author Posted January 9, 2015 Thought there could be something less drastic than die()
Wanze Posted January 9, 2015 Posted January 9, 2015 Assuming I'm understanding the question: You can set a flag, for example on your page object. In the main template, don't render anything if the flag is set. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now