Liam88 Posted October 28, 2020 Share Posted October 28, 2020 Hey all, Hoping someone may be able to advise why. I noticed recently that my doctype is not rendering when checking in inspect element. This is only happening on certain sub pages like blog whilst shows on home. I have it within my main doc with all other needed bits, but this just isn't showing. Thank you in advance. Link to comment Share on other sites More sharing options...
louisstephens Posted October 28, 2020 Share Posted October 28, 2020 Just curious, how are your other templates set up (like blog etc etc)? I take it you are appending the _main.php to your other templates? Link to comment Share on other sites More sharing options...
Liam88 Posted November 2, 2020 Author Share Posted November 2, 2020 On 10/28/2020 at 9:31 PM, louisstephens said: Just curious, how are your other templates set up (like blog etc etc)? I take it you are appending the _main.php to your other templates? Hey, yes all the same setup. it's a wierd one as it never used to flag up with this before. Link to comment Share on other sites More sharing options...
Tom. Posted March 23, 2021 Share Posted March 23, 2021 I'm having the same issue. I'm declaring the doctype but it will not output to browser. I was searching everywhere until this post came up on Google. Maybe it's a ProcessWire issue? I can't get TinyMCE working because of it on my front-end. EDIT: It's because debugging was turned on and an error was being output before the doctype was declared. Link to comment Share on other sites More sharing options...
Liam88 Posted April 14, 2021 Author Share Posted April 14, 2021 Just an update to this post. it seems I had a missing </div> which caused the error. Link to comment Share on other sites More sharing options...
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