Thanks Dave forthe quick reply.

I didn't remember the group based config files.

No php skills needed just to paste the $PageLogoUrl variable from local.php and put the new one in the group.php.!!!
It works fine.

Rgds

Graham

DaveG wrote:


On 10/15/2009 9:19 AM, Graham Archer wrote:
Hi,

I would like to change the Wiki logo ( top left hand corner) ,
$PageLogoUrl, variable depending on the Group. I am using the monobook skin.
I guess I should be able to do this in config.php - but my php knowledge
isn't up to knowing how to write.....

" if group = xxxx then logo Urlxxx, else logo Urlyyy"
Unless monobook does something specific with the page logo:

$group = PageVar($pagename, '$Group');
if ($group == 'group1') $PageLogoUrl = 'path_to_url';
elseif ($group == 'group2') $PageLogoUrl = 'path_to_url';

You could also create group config files, and set the $PageLogoUrl path there. Simply create a config file named after you group (group1.php).

 ~ ~ David
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to