Log in

No account? Create an account

Previous Entry | Next Entry

This one is for av8rmike - last week you posted part of a print function to hide the date and time on entries that watchmebe requested, and while you knew what was in the code she posted that didn't make it through the validator, I don't -

(Edit: actually, I'm not sure if I need any part of the code she posted besides the date/time function you reprinted in the comments - reading through it there are edits to the usericon and other portions of the code that I don't need).

So I guess the real question is: is all the code I need to change the date/time here?

I want to rework that code for Bloggish so I can (finally) change one of my entries (the sticky post at the top of anti_aol - it's had the wrong date on it for two years!) - and I want to take the modified-for-Bloggish code and publish it as a new tutorial on s2_bloggish.

Also, before I forget - if I use the code you give me to hide the date and time, can I still keep my top post on top (assuming I don't change it's current date - Dec. 11, 2008)?

Thanks for your help.

ETA, 5-8-08: Resolved - code for Bloggish users is here.


( 6 comments — Leave a comment )
May. 3rd, 2008 06:17 pm (UTC)
Yes, you should be able to add that code to the code from the base layout (changing the date as needed). Adapting it for Bloggish or any other layout should be straightforward. But, if I understand correctly, you just want to hide the date on your top back-dated post?
May. 3rd, 2008 08:15 pm (UTC)
"But, if I understand correctly, you just want to hide the date on your top back-dated post?"

Yes, that is correct.
May. 3rd, 2008 09:10 pm (UTC)
For Bloggish, it's going to have to be a little different: You'll have to override the RecentPage::print_body() function, since Bloggish doesn't print the date inside the entry. I was thinking there might be some way to do it via CSS instead, or a way to determine if the entry is back-dated, but neither of these things appear to be possible.
May. 3rd, 2008 09:56 pm (UTC)
Oh wow, Mike, that is not good news. I'v never worked with the code from that angle before. I usually just override functions and ::print entry, nothing much different. Is the code you're saying I need to use like this?

Could you tell me how to customize it for what I have in mind?

Would I be better off posting this to s2bloggish (not s2_bloggish since I answer most of the questions there and I can't help me at all this time)?

Thanks again for your help.
May. 3rd, 2008 10:19 pm (UTC)
Heh, post it to whichever you feel appropriate; I'll monitor both comms. I doubt it matters much, since neither one seems to have active maintenance any longer. I'd just rather not continue too far off subject here.
May. 4th, 2008 04:10 am (UTC)
Agreed. I'll post it tomorrow; I've been out all night and it's kind of late to get started with this.

Thanks again.
( 6 comments — Leave a comment )

Latest Month

March 2016

S2 Help Communities


Powered by LiveJournal.com
Designed by chasethestars