[pmwiki-users] (:commentbox:) is wrapping text in H1 tags, how to change to H2 or H3

Hans design5 at softflow.co.uk
Thu Oct 26 11:52:04 CDT 2006


Thursday, October 26, 2006, 5:41:19 PM, Brian wrote:

>   Please help me with (:commentbox:).  It is wrapping comments in H1
>   tags, how do I change it to H2 or H3 tags?

I think commentbox.php uses run-in headers defined in
extendmarkup.php, relying on that script (I could be wrong here
though!).

Try defining in config.php before including the script, for h3:
$MPTimeFmt = "\n\n>>message<<\n!!!\$Time by '''\$Author'''";

instead of the default:
SDV($MPTimeFmt,"\n\n>>message<<\n!\$Time by '''\$Author'''!");

you see the change in exclamation marks.


Hans





More information about the pmwiki-users mailing list