Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Each page will decide to be editable on the front end based on the filemanagerChrootDir extra session var of the logged-in user. If necessary, use a hook for this. Pages can also be created for user with groupID of user – groupID being stored in session extra data. A page hook for custom pages will set the pageDetails['additionalJSInfo'] value to pass to pageBuilder, or change the value of ‘enablePageBuilder’ that is sent via pageInfoJS. That hook will determine whether user can edit the current page by comparing the page’s groupID URL with the user’s group IDfilemanagerChrootDir.

The main way to determine whether SiteManager bars or pagebuilder show on a particular page is through the use of the sitemanagerview class, specifically its userOwnsPage function.

...