[pmwiki-users] custom style for a block

Jabba Laci jabba.laci at gmail.com
Sat May 31 19:27:01 CDT 2008


Hi,

I would like to translate the following line

%define=goofybox block bgcolor=#dfd border='3px dotted green' padding=5px%

to a custom wiki style. In my config.php I managed to describe it like this:

$WikiStyle['goofybox']['background-color'] = '#dfd';
$WikiStyle['goofybox']['border'] = '3px dotted green';
$WikiStyle['goofybox']['padding'] = '5px';

However, I don't know how to indicate that it is a "block". In the
source I want to use it like this:

%goofybox%
text here
%%

Thanks,

Laszlo

P.S.: I followed the description on this page:
http://www.pmwiki.org/wiki/PmWiki/CustomWikiStyles -> "Author-Defined
Wiki Styles".



More information about the pmwiki-users mailing list