Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#2 2009-07-22 00:39:43

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

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.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#3 2009-07-22 04:14:58

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
Website

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

Board footer

Powered by FluxBB