[pmwiki-users] customizing the output for commentboxstyled
John Rankin
john.rankin at affinity.co.nz
Mon Mar 27 15:28:53 CST 2006
On Tuesday, 28 March 2006 8:18 AM, Bronwyn Boltwood <bronwyn at bronwynb.info> wrote:
>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?
>
Just a guess: is $MPItemStartFmt declared in the list of
global variables at the start of that function?
--
JR
--
John Rankin
More information about the pmwiki-users
mailing list