Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2009-07-22 00:20:32
- dreamer
- Member
- Registered: 2007-06-08
- Posts: 242
getting the </head> tag to apear.
I inputted the </head> closing tag in my meta form. However, I noticed that when I “view source” on the webpage, the closing tag doesn’t appear. What could be the cause of this discrepancy?
Offline
Re: getting the </head> tag to apear.
hi dreamer
sounds like an un-closed tag (a conditional or container tag) or a self-closing tag (<txp:tag />
) not being properly closed. Could that be?
A way to rapidly debug this is by commenting out chunks of codes on <head>
or by adding some dummy text in different places and then checking if the code is in the final output or not.
Offline
Re: getting the </head> tag to apear.
As usual, Julián speaks the truth— I’ve seen this so many times I can’t even count. When Textpattern hits an error like this, it stops rendering the form, but renders any other code in the Page that follows the form.
In addition to what he said, it might help to search for <txp:
tags when viewing source: the presence of any <txp:
tags in your source shows that they weren’t written properly— you might have a typo. If that doesn’t reveal anything, look at the last thing that does show up before your missing </head> tag— that will show you approximately where to look for the unclosed tag.
Hope this helps!
Offline
Pages: 1