jcuot
jcuot

Reputation: 951

How to activate the INavigationRoot interface when creating new members in plone site

I have a Plone site which contains many users. I am trying to make the user folder look as autonomous as possible. I decided that the collective.lineage package is too much and I am trying to implement a much simpler solution. So whenever I create a new user, I go into the zmi and activate the following interface for the user's folder.

plone.app.layout.navigation.interfaces.INavigationRoot

This way the users have their own independent navigation bar. I am also using collective.folderlogo to let the users easily replace the plone site logo with their own.

I am wondering if there is a way to automatically activate the INavigationRoot interface whenever I create a new user.

Upvotes: 2

Views: 206

Answers (1)

hvelarde
hvelarde

Reputation: 2876

You have to listen to IPrincipalCreatedEvent from Products.PluggableAuthService; then you can mark the folder with INavigationRoot as Mikko suggested.

Upvotes: 5

Related Questions