Recent Topics

1 Jun 03, 2005 19:46    

Ok, I tried a few searches and now I'm going to resort to laziness, my apologies for that ;)

http://newsbc.ca/movies/ is the site, and as you can see I already know how to put a list of most recent posts on the side with hyperlinks to the full post. What I'd like to do is replace that list with either most recent comments or posts with most recent comments (preferred).

so say I have posts jimmy johnny and franky, and franky had a comment most recently followed by jimmy and johnny, the list would be as follows.

franky
jimmy
johnny

Is this possible? And if so how would one go about implementing it?

Thanks in advance,
Ryan

3 Jun 03, 2005 21:07

thanks for the turbo response, I'll give it a shot.

4 Jun 03, 2005 21:59

sweet, that was easy.

now for another question, say I wanted to have a 15 character excerpt from the comment itself, am I asking for a miracle?

5 Jun 03, 2005 22:14

Well, the solution I gave you, gives a 3 lines excerpt...
isn't that the same ?
you can allways shorten that to 1 line...

6 Jun 03, 2005 22:19

I don't see where you define how many lines...

<?php $Comment->content() ?></a>

^^ is where it spits the content out, I'm not sure where it's defined though.

7 Jun 03, 2005 23:26

unclespeedo wrote:

I don't see where you define how many lines...

<?php $Comment->content() ?></a>

^^ is where it spits the content out, I'm not sure where it's defined though.

I would be interested in this answer as well...

Thanks!

W. Hill

8 Jun 04, 2005 11:12

It's defined in your css file :

and add this to your css file

div.bCommentinclude /* Entire comment block */ 
{ 
   margin: 0ex 2ex 0ex 0; 
   padding: 1em 1ex 1em 0; 
   height: 4em; 
   overflow: hidden; 
} 
div.bCommentincludeauthor /* Entire comment block */ 
{ 
   font-size: 0.9em; 
   width:200px; 
   height: 1.3em; 
   overflow 

height : 4em; -> 4 lines (title and author included)


Form is loading...