Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: The Human Museum
Which version of TXP are you using? This will only work for 4.0.2. Do you have “auto append comments” turned on in “preferences”? What’s the “hr” for? Clearing? This has to go in your “comments_display” form template. Anyway if you pass all the above tests I can’t see why this shouldn’t work:-
<code>
<txp:if_comments_preview>
<txp:comments_preview form=“comments_preview” />
<hr class=“nodisp” />
<txp:comments_form preview=“1” />
<txp:else />
<txp:if_comments>
<h3 id=“comment”><txp:comments_count /> Comments for <txp:title /></h3>
</txp:if_comments>
<txp:comments />
<hr class=“nodisp” />
<txp:if_comments_allowed>
<txp:comments_form />
</txp:if_comments_allowed>
<txp:if_comments_disallowed >
<p class=“accentblock” >Komentari zatvoreni.</p >
</txp:if_comments_disallowed >
</txp:if_comments_preview></code>
<br />
Remember that I am using another form to display previewed comments. If you want to continue using your normal comments form then remove the “form” attribute from <code><txp:comments_preview form=“comments_preview” /></code>.
Use < code>< /code> tags (without the spaces) to display code here.
Last edited by thebombsite (2005-11-17 21:42:10)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: The Human Museum
I have absolutely no idea why it doesn’t work, it messes up with the form and i get an extra <code></div></code> and <code></form></code>.
I am running 4.0.2. , I have auto append comments and I am adding your code to the comments_display form.
The horizontal rule is used to separate comments from the article when the styling is turned off. It makes more sense then.
I have no time to deal with this at the moment ‘cause I got to go to school, but I must look into it later today.
Thanx for your help thebombsite, for what it’s worth …
Offline
Re: The Human Museum
I think I’ve fixed and styled the comments with thanks to everyone. How does it look now? (Special props to Myisha’s port of Back in Black from which I lifted most of the code).
“I was born to hustle roses down the avenues of the dead.”-Charles Bukowski
[url=http://thehumanmuseum.com]The Human Museum[/url]
Offline
Re: The Human Museum
Sweetness. Good Job.
Offline
Re: The Human Museum
Dragan, if you want to email me a login at stuart at thebombsite dot com I can go in and have a look tomorrow (well today really) if you like.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: The Human Museum
thanx for all the help thebombsite, I have opted for the livecommentspreview after all. This kida hurt my layout a lot, so I needed a quick fix.
hanx a lot once more.
Offline
Re: The Human Museum
Thanks again to everyone for all of your help, after a week of tweaking and learning The Human Museum is finished. I decided to go with excerpts on the front page. Most of the entries are long and it meant that viewers would have to scroll a long way before getting to the navigation area, so that fixed it. If there are any other functional improvements that can be made, please let me know.
Once again thanks and cheers to the developers!
Last edited by The Human Museum (2005-11-25 06:49:13)
“I was born to hustle roses down the avenues of the dead.” – Charles Bukowski
The Human Museum
Offline