[pmwiki-users] customizing the output for commentboxstyled
Bronwyn Boltwood
bronwyn at bronwynb.info
Mon Mar 27 14:18:45 CST 2006
I'm setting up a blog that uses commentboxstyled. I want the entire
comment contained in one div. Normally there are two: messagehead and
messageitem. In my config.php file, I declare
$MPItemStartFmt = '';
$CommentStyles = 0; #turn off script's built-in CSS for comments
include_once("$FarmD/cookbook/blogsimple/commentboxstyled.php");
#commenting features
That *should* get rid of the messageitem div, leaving everything
enclosed in messagehead. It doesn't. I'm still getting a messageitem
div. Editing the script directly to change this line
SDV($MPItemStartFmt,">>messageitem<<\n");
to this
SDV($MPItemStartFmt,"");
does work. Any ideas why just declaring the variable in the config
file does not?
Thanks, Bronwyn
More information about the pmwiki-users
mailing list