[pmwiki-users] PageHeader possible?

Neil Herber nospam at eton.ca
Fri Mar 24 08:42:16 CST 2006


At 2006-03-24  06:12 AM -0600, Patrick R. Michaud is rumored to have said:
>How about this?
>
>     $GroupHeaderFmt .= '(:include {$Name}-Header self=0:)(:nl:)';
>
>This causes a page called "Name-Header" to be included (if it exists)
>just after the group header.

This is perfect and it suggests to me that the following might 
provide a content footer below the group footer:

         $GroupFooterFmt .= '(:nl:)(:include {$Name}-Footer self=0:)';

I assume that putting this in farmconfig.php make the function 
available to all the groups in all the wikis in the farm.

Thanks to Hans, too for suggesting:

         (:include {$Group}.{$Name}-ContentHeader self=0:)

as a line in GroupHeader. His solution does not require access to the 
config file.


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