Инструменты пользователя

Инструменты сайта


limb2:en:howtos:register_new_site_object

HowTo register new site object

This operation is only required once for the unregistered top-level site object in the site tree. You don't need to do this operation for children of some already registered site object. Say, we need a new gallery object at /root/gallery1. After registration it's alaready capable of adding its children automatically without the need of new registration! However if you need another top level gallery at /root/gallery2 you need to register it again.

To register the absolutely new site object Limb makes use of admin_page object's register_new_object action.It's usually located at /root/admin url. It permits you create site objects at any node of the objects tree.

To create a new object input its important attributes:

  • class name
  • controller class name (since Limb 2.3+)
  • identifier
  • title
  • path to the parent node

If the object is successfully registered you should see a confirmation message above the form.

When the new object is created you will probably want to check'n'set object's permissions for groups and you will surely want to check'n'set actions access and actions access templates.

Обсуждение

Ваш комментарий. Вики-синтаксис разрешён:
  ____    ___    __    ___   _   __
 / __ \  / _ \  / /   / _ \ | | / /
/ /_/ / / // / / /__ / , _/ | |/ / 
\____/ /____/ /____//_/|_|  |___/
 
limb2/en/howtos/register_new_site_object.txt · Последние изменения: 2010/11/10 10:02 (внешнее изменение)