Adding Links Using Page Extensions
This article describes how to add links in the EngageIP AdminPortal using page Extensions.
Example
The below Page Extension creates a link on the breadcrumb trail line in the AdminPortal called 'My Link'. You can use the following example to add text and links if you know the DIV tag ID.
Click on Setup
Click on Page Extensions
Click the Add button
Enter the following information:
Name - My Breadcrumb Link
Page - / (the forward slash indicates the script should be applied to all pages in the AdminPortal)
Script - (see below)var link = '<a class="smtxt" href="http://www.mylink.com">My Link</a>'; document.getElementById("crumb").innerHTML = document.getElementById("crumb").innerHTML +link;
Click Save
Adding a Link to the Top Level Owner
The page extension below provides an easy way to reach the top level Setup tab for users who are not logging in as Admin.
Note: to specify which Owner Setup page to link to simply replace the ID in the script below with the Owners UserID (i.e. the code (changeuser.rails?id=1') )
Click on Setup
Click on Page Extensions
Click the Add button
Enter the following information:
Name - Top Level Owner Setup
Page - / (the forward slash indicates the script should be applied to all pages in the AdminPortal)
Script - (see below)var link1 = '<a href="../overview/changeuser.rails?id=1'+ '&redirectTo=setup/menu" class="smtxt">Top Level Owner Setup |</a>'; document.getElementById("crumb").innerHTML = document.getElementById("crumb").innerHTML + link1;
Click Save