Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2005-11-17 21:37:16

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

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

#14 2005-11-18 11:56:53

Dragan
Member
From: Novi Sad, Serbia
Registered: 2005-10-26
Posts: 100
Website

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>&lt;/div&gt;</code> and <code>&lt;/form&gt;</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

#15 2005-11-18 16:41:23

Chaplin
New Member
From: Toronto, Ontario Canada
Registered: 2004-11-14
Posts: 8
Website

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

#16 2005-11-18 20:24:43

datnguyen
Member
From: Davis, CA
Registered: 2005-04-28
Posts: 13
Website

Re: The Human Museum

Sweetness. Good Job.

Offline

#17 2005-11-19 04:46:04

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

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

#18 2005-11-19 10:34:48

Dragan
Member
From: Novi Sad, Serbia
Registered: 2005-10-26
Posts: 100
Website

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

#19 2005-11-25 06:48:29

The Human Museum
Member
From: Toronto, Canada
Registered: 2005-11-21
Posts: 64
Website

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

Board footer

Powered by FluxBB