[pmwiki-users] Group home pages indexed twice in search engines

Patrick R. Michaud pmichaud at pobox.com
Mon Oct 30 12:09:55 CST 2006


On Sat, Oct 28, 2006 at 01:58:35AM +0200, Roman wrote:
> >At any rate, if you want to adjust the skin to avoid creating
> >the group links, you can try using something like
> >
> >   href={$ScriptUrl}/{$Group}/HomePage
> >
> 
> Problem is that different groups have different home pages - either
> Group.Group or Group:HomePage. That's why I wanted page variable that
> would give same result as [[Group/]] link.

Try (in local/config.php):

    $FmtPV['$GroupHome'] = 'MakePageName($pn, "$group/")';


Then you should be able to use {$GroupHome} to obtain the group's
home page for any page/group.

Pm





More information about the pmwiki-users mailing list