7. Creating Shortcut URLs to the Administration

It is possible to create direct links to managing content and applications in Moski2.net without worrying about the internal URL scheme, which may change without notice.

To create a direct link, follow these guidelines:

Table 36. How to create shortcut URLs to the administration

URL typeURL structure

Links to manage content

The base stub is always:

/admin/content/<contentType>

...where <contentType> is the id attribute of the type you wish to deal with.

You then append either add or edit, followed by an id to edit:

To add a new node: /admin/content/<contentType/add

To edit an existing node: /admin/content/<contentType>/edit/23078

Links that take you directly to a specific application

/admin/app/<appName>

...where <appName> is the name of the application, such as M2UserGroupApp, M2MailEngineApp etc.

Links that take you directly to a specific custom application

/admin/customapp/<filename>?your=param&and=more

...where <filename> is the name of the file in the apps directory.

Note

This is the only shortcut type that allows you to pass a normal query string to the application.