How to create personal links in the SITEFORUM Portalmanager navigation
To add links to the SITEFORUM Portalmanager navigation, create a new SITEFORUM function "pmanNavigationLinksUserdefined" in your local application instance:
Create the function the following way:
$*pmanNaviLinksUserdefined{parameter1}{parameter2}{parameter3}
{
$$pmanNaviLink
{1. Name, description}
{2. Unique path}
{3. URL to SITEFORUM template}
{4. Link target}
}
Description of the parameters
Example on how to embed a second or third level link
$*pmanNaviLinksUserdefined{parameter1}{parameter2}{parameter3}
{
$set{isMaster}{$$hasRole{$session{get}{customerID}{-1}}{Portal Master}}
$set{isOfficer}{$$hasRole{$session{get}{customerID}{-1}}{Officer}}
$if{$get{isOfficer}}
{
$// ~~~ Level 2 ~~~
$$pmanNaviLink
{${Key name}}
{intranet/office}
{$getDefaultURL{/office/index}}
$// ~~~ Level 3 ~~~
$$pmanNaviLink
{${Key name 2}}
{intranet/office/protocols}
{$getDefaultURL{/office/templatename}}
}
$if{$get{isMaster}}
{
$// ~~~ Level 3 ~~~
$$pmanNaviLink
{seperator}
{intranet/office/templatename}
$$pmanNaviLink
{${Key name 3}}
{intranet/office/assign_secretary}
{$getDefaultURL{/office/templatename}}
$$pmanNaviLink
{${Key name 4}}
{intranet/office/var}
{$getDefaultURL{/office/templatename}}
}
}
Use masterD_admin in the following way
$$masterD_admin
{
Your Content
}
{LeftHeadline}
The left navigation then shows "LeftHeadline" as titel.

SITEFORUM
Portal Software : Web Applications To Smart Up Your Business | Enterprise
Content Management Software |
Shortcuts |
Portalsoftware