How to override S2 Comments-page styles
It's here! A nice consistent way to override the wildly-varying Comments-page styles that are showing up all over the place lately. I like to have the comments all show up in the same style when I click into them from my Friends page. Finally today I went & figured it out, because now my workaround, adding "?s2id=16" to the page, has stopped working - or maybe it now only works if you're using S2 yourself, which I'm not.
I found a post in
s2styles which mentions adding "?style=mine" to view pages in 'your' style (I'm unclear exactly what that means, but it does what I want - comments pages are displayed in the original default LJ style). I think it will become a checkbox in the preferences page (probably for S2 only, I bet), but adding it to a URL works now!
I went further and researched the overrides necessary for "plain ole S1" to make the comment links on my Friends page include "?style=mine" - and even better, it causes the whole page to append "?style=mine" to each comment link (e.g "reply to this" or "Post a new comment"). So no more funky reply boxes, either. Yay!
Here's the overrides I used:
EDIT: As noted by
ravenia, there's now an option on the personal info page to "View comment pages in your journal style" (it's down toward the bottom of the page). So you don't have to use overrides. Probably the option was there and I just didn't see it. But I had fun playing with overrides anyway (I have so many it's ridiculous - but I like the sense of "I'm gettin' away with something, I'm overriding them, heheheh"). There's also some info on other changes made yesterday, including mention of the s2id=xxx thingie not working any more.
I found a post in
![[livejournal.com profile]](https://www.dreamwidth.org/img/external/lj-community.gif)
I went further and researched the overrides necessary for "plain ole S1" to make the comment links on my Friends page include "?style=mine" - and even better, it causes the whole page to append "?style=mine" to each comment link (e.g "reply to this" or "Post a new comment"). So no more funky reply boxes, either. Yay!
Here's the overrides I used:
FRIENDS_TALK_LINKS<= %%readlink%% <A HREF="%%urlpost%%&style=mine">post a comment</A> <=FRIENDS_TALK_LINKS FRIENDS_TALK_READLINK<= <A HREF="%%urlread%%?style=mine">%%messagecount%% comment %%mc-plural-s%%</A> | <=FRIENDS_TALK_READLINK
EDIT: As noted by
![[livejournal.com profile]](https://www.dreamwidth.org/img/external/lj-userinfo.gif)