[pmwiki-users] custom style for a block

Patrick R. Michaud pmichaud at pobox.com
Sat May 31 22:38:13 CDT 2008


On Sat, May 31, 2008 at 08:27:01PM -0400, Jabba Laci wrote:
> 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". 

$WikiStyle['goofybox']['apply'] = 'block';

Pm




More information about the pmwiki-users mailing list