[pmwiki-users] How do you create a unique WikiTitle for a group?

Hans design5 at softflow.co.uk
Sat Jun 28 09:01:04 CDT 2008


Saturday, June 28, 2008, 2:18:34 PM, Gordon, Andrew wrote:

> ##  $WikiTitle is the name that appears in the browser's title bar.
>     $WikiTitle = "Test WikiTitle for a group";

# first get the Group part from the page name
$group = PageVar($pagename, '$Group');
# then test against it
if ($group=='SpecialGroup')
    $WikiTitle = "Test WikiTitle for a group";
# if test fails use default
else $WikiTitle = "Default Wiki Title";


  ~Hans




More information about the pmwiki-users mailing list