Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
txp:article, txp:article_custom and txp:comments_invite
Hi,
I’m trying to show an article with a customized form (not “default”), but I keep seeing the “commenting closed for this article” message when I think I shouldn’t (but you can always prove me wrong) :-)
I made a form my_article that could be simplified like this:
<div id="cancion">
<h3><txp:permlink><txp:title /></txp:permlink></h3>
<txp:body />
</div>
note that, unlike the default form there’s no <txp:comments_invite />
tag.
I invoke this from a section’s template page like this:
<div class="lista">
<h2>The Title</h2>
<txp:article_custom form="my_article_list" limit="11" section="descarriado" sortby="Posted"
sortdir="asc" listform="my_article_list" />
<txp:if_individual_article>
<txp:article limit="1" form="my_article" />
</txp:if_individual_article>
</div>
The my_article_list form is simply like this:
<a href="<txp:permlink />#cancion" title="<txp:title />" ><txp:title /></a><br />
The idea is that when I get to this section, I see the list of 11 titles, if I click on anyone of them, I see the list, followed by the specific article, but I scroll down to the article (that is, the “list” scrolls up so you focus on the specific article).
The problem I have is that even when there’s no mention to anything related to the comments in any of the forms, I always get the “commenting closed for this article” message at the bottom of the article.
Why is this so?
TIA
Mariano Absatz – El Baby
I don’t suffer from insanity. I enjoy every minute of it.
Offline
Re: txp:article, txp:article_custom and txp:comments_invite
Why do my posts appear duplicated???
Yesterday I posted this: http://forum.textpattern.com/viewtopic.php?pid=107255#p107255 (the original link was http://forum.textpattern.com/viewtopic.php?pid=107254#p107254, but I erased it, thinking I had double-posted)…
I just posted this thread and the same thing’s going on…
The thing is that both instances show the exact same “pid”… but it shows twice… If I erase any, both are erased (since they have the same id).
I even tried to look it in another browser where I’m not registered and even in another computer… but clearly, the entry is duplicated.
Is it just me? Is there a problem with the forum software? I don’t see other people’s entries duplicated…
FWIW, I’m using Firefox under Debian Sarge:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050925 Firefox/1.0.4 (Debian package 1.0.4-2sarge5)
Mariano Absatz – El Baby
I don’t suffer from insanity. I enjoy every minute of it.
Offline
Re: txp:article, txp:article_custom and txp:comments_invite
hola baby, welcome.
check this thread.
Also, check this faq: Comment display confusion
Ah, and most important is: look at your “Admin -> Site Preferences”, if you have turned on the “auto-append comments to article” (“añadir comentarios” en español)
I prefer to work with that option off, you will have more control over everything related with comments.
But dont forget to check the FAQ I linked above to make your head around comments…
BTW, are you working on a band site? Me too!
Saludos, máquina, y cualquier cosa, también podés preguntar en el foro en español.
edit: yes, sometimes there are problems with entries showed twice, but they are not duplicated in the DB.
Last edited by maniqui (2006-04-07 19:57:38)
Offline
#4 2006-04-07 20:01:21
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: txp:article, txp:article_custom and txp:comments_invite
Why do my posts appear duplicated???
It happens to others, see this thread, and it’s not quite solved yet. It’s not possible to remove one post because then both will be gone. We’ll have to live with it for now.
I see maniquí has already anwered your question ;)
Offline
Re: txp:article, txp:article_custom and txp:comments_invite
Graciani, Maniquí… that did it…
I was confused by the Spanish “añadir comentarios” which should be something like “añadir comentarios automáticamente”…
I had seen this workaround but I wanted to understand why was that happening. The FAQ answered it.
Yes, I’m working on a band (or rather, a soloist) site.
Thanks, Els for the info on double-postings… anyway, in spite of what Mary says, this seems to keep happening…
Regards & thank-u.
Mariano Absatz – El Baby
I don’t suffer from insanity. I enjoy every minute of it.
Offline