[pmwiki-users] making "Author Required" notice stand out

Neil Herber nospam at eton.ca
Thu Jan 19 22:56:24 CST 2006


At 2006-01-19  03:46 PM -0900, Chris Lott is rumored to have said:
>I have EnablePostAuthorRequired set-- is there a way in the config.php
>to set the formatting/style of the notice given to users when they
>don't enter an author name? It's way too easy to miss as it is...

I do this in my farmconfig.php file (because I am running a farm - 
you can use local/config.php).

## ---- Author settings -----
## Require Authors
$EnablePostAuthorRequired = 1;

# Change the Author prompt to be more verbose and visible
$AuthorRequiredFmt =  "<h3 class='wikimessage' 
style='color:red'>$[You must enter your name in the author box before 
saving]</h3>";




Neil

Neil Herber
Corporate info at http://www.eton.ca/
Eton Systems, 15 Pinepoint Drive, Nepean, ON, Canada K2H 6B1
Tel: (613) 829-4668 





More information about the pmwiki-users mailing list