Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-01-12 15:10:15

LuciferVandros
Member
Registered: 2005-09-09
Posts: 20

Alternating Comment Display Divs

Can someone recommend a plugin that will allow me to apply class “odd” and “even” to my comment display divs? I have tried ajw_comment_alt, but it is generating upredictable results in Textpattern 4.0.3. For example, the first comment div was given the class “even” and the next comment that followed didn’t even have a class applied to it.
Any other suggestions before I manually hack it?

Thanks,
S.

Offline

#2 2006-01-12 17:52:25

takshaka
Archived Plugin Author
From: Below the Manson-Nixon line
Registered: 2004-06-02
Posts: 97
Website

Re: Alternating Comment Display Divs

You might try this: chh_flipflop

Offline

#3 2006-01-12 19:03:47

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,370

Re: Alternating Comment Display Divs

Offline

#4 2006-01-12 21:27:59

LuciferVandros
Member
Registered: 2005-09-09
Posts: 20

Re: Alternating Comment Display Divs

Thanks guys. Will both of these work with txp 4.0.3?

Offline

#5 2006-01-12 21:40:48

takshaka
Archived Plugin Author
From: Below the Manson-Nixon line
Registered: 2004-06-02
Posts: 97
Website

Re: Alternating Comment Display Divs

Neither is version-dependent.

Offline

#6 2006-01-12 21:54:19

LuciferVandros
Member
Registered: 2005-09-09
Posts: 20

Re: Alternating Comment Display Divs

Would one of you mind showing me how you implemented this in comment display forms for alternating “odd” and “even”?

Offline

#7 2006-01-12 22:45:05

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: Alternating Comment Display Divs

You would be doing good to start here

Offline

#8 2006-01-12 23:49:51

LuciferVandros
Member
Registered: 2005-09-09
Posts: 20

Re: Alternating Comment Display Divs

Thanks, but I am aware of the plugins used there, and there are compatibility issues with 4.0.3. I have tried some of the plugins there. So, what I’m looking for is an example of someone alternating classes in the comment display <div>s with the newest version of textpattern.

S.

Offline

#9 2006-01-13 16:23:50

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: Alternating Comment Display Divs

ajw_comment_alt is also not version-dependent and works fine with v4.0.3 (I’m using it myself). If you are having any specific problems with the plugin, please let me know.

Offline

#10 2006-01-13 16:35:29

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: Alternating Comment Display Divs

Since it sounds like you’re having problems with all of the above plugins, none of which are version-dependent, I would wager that the problem is most likely with your usage. Do you have examples for us?

Offline

#11 2006-01-13 16:39:04

LuciferVandros
Member
Registered: 2005-09-09
Posts: 20

Re: Alternating Comment Display Divs

Andrew – The plugin works great now thanks…There was some issue with my txp install and plugins. After fixing it, all is well now. Great work by the way!

S.

Offline

#12 2006-01-13 16:46:23

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: Alternating Comment Display Divs

Good to hear!

Offline

Board footer

Powered by FluxBB