Page 1 of 1
hide sidebar plugins for non logged in users
Posted: Sun Aug 17, 2008 9:00 pm
by vdudman
I'm making a mostly members only site where there are some public pages and I want to be able to remove certain sidebar plugins until a user logs in.
Is this possibly ? I'm sure yes but can someone give me pointers as to the best way to achieve this....
Thanks
Neil
Re: hide sidebar plugins for non logged in users
Posted: Mon Aug 18, 2008 12:47 pm
by garvinhicking
Hi!
You might want to have a look at the plugin "Toggle Sidebar state / Hide sidebar plugins" (serendipity_event_sidebarhider). This one allows you to hide sidebar plugins for certain categories or user groups.
HTH,
Garvin
Great - just the ticket
Posted: Mon Aug 18, 2008 1:10 pm
by vdudman
Thanks
Thats just what I was wanting...
those plugins are great -seems there is one for anything you want to do - is there a template or docs for writing new ones ?
Neil
Re: Great - just the ticket
Posted: Mon Aug 18, 2008 1:12 pm
by garvinhicking
Hi!
There is no real template, because plugins are very lean. Usually I suggest people to think about what kind of plugin they want to build, and then use existing ones as a template...
HTH,
Garvin