You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem? 1. Enable Site Wide Comments (Admin > Preferences > Basic > Accept Comments)
2. Set "On By Default" to No (Admin > Preferences > Basic > Accept Comments)
2. Create a page template with JUST txp:article<txp:body />/txp:article
3. Set a section to use this page
4. Create an article in this section, turning comments OFF
5. Publish Article
6. View source of article.
What is the expected output?
To see my article Text ONLY
What do you see instead?
My article Text + "
"
What version of the product are you using?
Textpattern version: 4.2.0 ( r3275 )
On what operating system?
Centos 5.3 x86_64 Please provide any additional information below. I'm rying to use a stripped down article/section/page to produce linkable text files from Textpattern, for creating custom rss feeds, store javascript
in the DB, etc. if a page template like:
txp:article<txp:body />/txp:article
doesn't deliver exactly and only the body of the article to the browser, then it seems broken.
I think that is simply a lack of proper coding in the comments_display form template.
Go to that form and look for the h2 tag then surround it with
txp:if_comments/txp:if_comments tags. Then it won't display unless there are
comments for an article.
thebombsite, that worked, thanks. I'm fairly new to TXP, and the docs don't FULLY
describe things like which forms are included based on what settings. This bug may be
against the default config vs. txp itself.
From nik.mar...@gmail.com on September 19, 2009 22:50:22
What steps will reproduce the problem? 1. Enable Site Wide Comments (Admin > Preferences > Basic > Accept Comments)
2. Set "On By Default" to No (Admin > Preferences > Basic > Accept Comments)
2. Create a page template with JUST txp:article<txp:body />/txp:article
3. Set a section to use this page
4. Create an article in this section, turning comments OFF
5. Publish Article
6. View source of article.
What is the expected output?
To see my article Text ONLY
What do you see instead?
"My article Text + "
What version of the product are you using?
Textpattern version: 4.2.0 ( r3275 )
On what operating system?
Centos 5.3 x86_64 Please provide any additional information below. I'm rying to use a stripped down article/section/page to produce linkable text files from Textpattern, for creating custom rss feeds, store javascript
in the DB, etc. if a page template like:
txp:article<txp:body />/txp:article
doesn't deliver exactly and only the body of the article to the browser, then it seems broken.
Original issue: http://code.google.com/p/textpattern/issues/detail?id=41
The text was updated successfully, but these errors were encountered: