Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-07-15 23:01:27

mattinblack
New Member
Registered: 2006-07-15
Posts: 3

Problems with workaround for Meta Description tag with comments

Ok… have now implemented the workaround for meta description tags on two sites, one without comments enabled – works fine. Doing exactly the same thing with comments enabled on another site results in the comments form being spuriously displayed at the top of the page BUT you will only see this in a non-IE browser. Why? Because the extra code is inserted in the ‘head’ section of the document which should not be displayed. IE does not display code here but Firefox assumes you put the BODY tag in the wrong place and shows it!

Any way I can clean this up for my 20% of visitors who are Firefox?

See http://redfoxnews.kwikfire.com/article/4 for example. If I turn the comments off no problem!

Matt

Offline

#2 2006-07-15 23:24:27

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Problems with workaround for Meta Description tag with comments

I see two comment forms in IE and Opera. Uncheck “auto append comments to articles” and see if that fixes it.

Last edited by deldindesign (2006-07-15 23:24:46)

Offline

#3 2006-07-15 23:51:57

mattinblack
New Member
Registered: 2006-07-15
Posts: 3

Re: Problems with workaround for Meta Description tag with comments

You are right that fixed it … how bizarre. Definitely a bug. Unfortunately I would like to see the comments follow the articles….! Still its better than malformed pages I suppose.

Offline

#4 2006-07-16 01:32:40

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Problems with workaround for Meta Description tag with comments

Not a bug. Expected behaviour.

After your article tag, where you want your comments to appear, put:

<txp:if_individual_article><txp:article form="comments_display" /></txp:if_individual_article>

Offline

#5 2006-07-16 10:20:06

mattinblack
New Member
Registered: 2006-07-15
Posts: 3

Re: Problems with workaround for Meta Description tag with comments

Thanks for that rap on the knuckles Mary – Promise never to use the B word again. I think textpattern is an excellent tool – I now have four sites running it and have reccomended it to others. The only thing from my point of view that is missing (from the plugins) is an automatic traffic trading setup!

Offline

Board footer

Powered by FluxBB