[pmwiki-users] Hiding actions in template
    Kathryn Andersen 
    kat_lists at katspace.homelinux.org
       
    Wed Jul 18 07:53:50 CDT 2007
    
    
  
On Wed, Jul 18, 2007 at 03:40:13PM +0300, Athan Dimoy wrote:
> "Kathryn Andersen" <kat_lists at katspace.homelinux.org> wrote in message 
> news:20070718122616.GB8470 at katla.katspace.homelinux.org...
> > Why do you need to put it in the skin template?
> > It's much easier to just edit the markup in Site.PageActions to test
> > whether the user has edit rights.
> 
> In my template, actions are displayed in a DIV container. When using 
> PageActions markup, action list can be hidden but the empty DIV container is 
> still included in html.
Don't do that, then.
 
I mean, don't display the page actions in a DIV container.  Put the DIV
inside the PageActions page instead.
Kathryn Andersen
-- 
 _--_|\     | Kathryn Andersen	<http://www.katspace.com>
/      \    | 
\_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
      v     | 
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |	-> Earth -> Sol -> Milky Way Galaxy -> Universe
    
    
More information about the pmwiki-users
mailing list