[pmwiki-users] group headers not working in login page???

DaveG pmwiki at solidgone.com
Sun Dec 27 17:49:50 CST 2009



On 12/27/2009 6:14 PM, Tegan Dowling wrote:
> On Sun, Dec 27, 2009 at 12:13 AM, dan mcmullen<bang at bangzero.org>  wrote:
>> ps- looks like it's the same situation for the uploads page.
>>
>> On 12/26/09 7:01 PM, dan mcmullen wrote:
>>> hello all!
>>>
>>> i am using an AllGroupHeader page to define some global styles.  it
>>> seems that group headers are not normally in effect for some page
>>> actions - i.e. PageName?action=xxx.  for the search and edit actions i
>>> can put (:groupheader:) in the respective Site page and enable the
>>> global styles.  but this does not work in Site.AuthForm, so the global
>>> styles are missing on the login page.
>>>
>>> anyone know of a way to make this work?  i could just disable the site
>>> header and sidebar for the login page, which hides the problem.  but it
>>> would be nicer to present the login page in the same format as the rest
>>> of the site.
Not sure if this would work, but you could force set the header for the 
login/upload page, so pseudo code:

if (pagename=='Site.Upload')
   $GroupHeaderFmt = '(:include Site.GlobalStylesSettings:)';


  ~ ~ Dave



More information about the pmwiki-users mailing list