List Info

Thread: Two questions




Two questions
user name
2006-04-04 13:50:33
Working with Blojsom on OS X server, I have two things I'd
like to see 
if I can improve on.

The first is, when I set my comment moderation plugin to be
on and I 
have unapproved comments in the queue, they still show up in
the count 
on the main page (ie it says (2 comments) even if none are
approved). Is 
this easy to find and change? I did a search for the
function 
$entry.getNumComments() but haven't had much luck finding
it.

The second part is, when I have the convert-line-breaks
plugin enabled, 
it works fine on the front end, but when I go in to edit the
blog, my 
post turns up with a lot of & nbsp; <br /> etc.
(If it rendered those, 
br tags and non breaking spaces). Is there a way to get the
editor to 
parse these tags so they only reside in the file, and render
in the text 
box and on the front end?

-- 
John Deery
Webmaster
SBSchools.org
john.deerysbschools.org
(732)297-7800 x3195





-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking
scripting language
that extends applications into web and mobile media. Attend
the live webcast
and join the prime developer group breaking into this new
coding territory!
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
Two questions
user name
2006-04-04 19:13:38
On 4/4/06 9:50 AM, "John Deery"
<john.deerysbschools.org> wrote:

> Working with Blojsom on OS X server, I have two things
I'd like to see
> if I can improve on.
> 
> The first is, when I set my comment moderation plugin
to be on and I
> have unapproved comments in the queue, they still show
up in the count
> on the main page (ie it says (2 comments) even if none
are approved). Is
> this easy to find and change? I did a search for the
function
> $entry.getNumComments() but haven't had much luck
finding it.

One of the template macros,
<http://wiki.blojsom.com/wiki/display/blojsom/Tem
plate+Macros> is
TotalCommentsApproved. You could use this instead.

> 
> The second part is, when I have the convert-line-breaks
plugin enabled,
> it works fine on the front end, but when I go in to
edit the blog, my
> post turns up with a lot of & nbsp; <br />
etc. (If it rendered those,
> br tags and non breaking spaces). Is there a way to get
the editor to
> parse these tags so they only reside in the file, and
render in the text
> box and on the front end?

Is the caching fetcher enabled?

-- 
David Czarnecki

http://www.blojsom.com/b
log/ | http://blojsom.sf.net




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking
scripting language
that extends applications into web and mobile media. Attend
the live webcast
and join the prime developer group breaking into this new
coding territory!
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )