[pmwiki-users] AllGroupHeader causes extra vertical space

chr at home.se chr at home.se
Sun Jul 24 16:13:41 CDT 2005


I'm testing
	http://www.pmwiki.org/wiki/Cookbook/AllGroupHeader

where I'm doing this in my farmconfig.php

	if(true) {
	  $GroupHeaderFmt = 
	     '(:include $SiteGroup.GroupHeader-site:)(:nl:)'.
	     '(:include $FieldGroup.GroupHeader-field:)(:nl:)'.
	     '(:include $Group.GroupHeader:)(:nl:)';
	  $GroupFooterFmt = 
	     '(:include $SiteGroup.GroupFooter-site:)(:nl:)'.
	     '(:include $FieldGroup.GroupFooter-field:)(:nl:)'.
	     '(:include $Group.GroupFooter:)(:nl:)';
	}

The problem with this is that (:nl:) causes empty vertical space at the 
beginning and end of pages...
Is (:nl:) really needed?
What is its purpose?  (I know it creates a new line of course:-)

If (:nl:) doesn't serve a purpose, let me know and I can adjust 

	http://www.pmwiki.org/wiki/Cookbook/AllGroupHeader

accordingly.

/Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr






More information about the pmwiki-users mailing list