Virtual paths portlet

From VYRE

(Redirected from Virtual Paths portlet)
Jump to: navigation, search
Virtual paths portlet
module: Content module
supplier: VYRE Ltd.


The Virtual Paths portlet is used to manage the virtual paths from a cms/managment site without having access to backend of the Unify

Contents

Usage

This portlet is used to allow users to view/create/delete virtual paths if she/he has permissions to do so.

Permissions

Once this portlet is placed on a page that is deployed, a user needs to have the relevant permissions in order to use it. The required permissions to are being able to modify / edit the site the portlet it's in. This is because virtual paths depend on a Site.

The way to grant these permissions to a user is: Go to Users and Groups > Permissions, select the group you want to grant access to modify virtual paths (this has to be done on a group basis, so you may need to create a new group to put these users in). On the permission set dropdown select the name of the site you want to be able to edit. Click on the Permissions button at the top, it will take you to a list of permissions to grant access to. Tick the checkbox for the group and "Edit site" and click Save (see User_permissions)

If the user you granted permissions to is logged in, it will need to log out and log back in for these changes to take effect.

Configuration

This portlet has several modes

Add

Image:VirtualPathPortletAddMode.jpg

User can add a new virtual path in backend by giving the values for Path,ID of the target page and Displayed item's value which is optional

Edit

Figure 2: VirtualPaths Portlet Edit Mode

Portlet settings can be modified under Edit mode. User can select the correct values from the dropdown boxes and turn-on the Pagination if necessary

-Site - select the site in which the user wants to manage virtual paths

-Virtual path list xsl - select the pre-created XSL which will be used to display the Virtual path list. User can use the action types defined in the XML to edit/create/delete paths. This option uses shortcut functionality.

-Virtual path display xsl - select the pre-created XSL which will be used to display specific Virtual path's details. User can use the action types defined in the XML to list/edit/delete the path. This option uses shortcut functionality.

View

View mode will display the results according to selected XSLs


Xml
Example XML output
<?xml version="1.0" encoding="UTF-8"?>
<virtual-paths>
	<list-info>
		<size>1</size>
		<start-index>1</start-index>
		<end-index>11</end-index>
		<page-no>1</page-no>
		<no-of-pages>1</no-of-pages>
		<items-per-page>11</items-per-page>
	</list-info>
	<site>
		<id>1</id>
		<name><![CDATA[4_4_Test_Site]]></name>
		<description><![CDATA[4.4_Test_Site]]></description>
		<locale variant="en"><![CDATA[English]]></locale>
		<allowed-locales>
			<locale variant="zh"><![CDATA[Chinese]]></locale>
			<locale variant="fr"><![CDATA[French]]></locale>
		</allowed-locales>
		<domain-names>
			<domain-name><![CDATA[linux-test2]]></domain-name>
			<domain-name><![CDATA[172.16.2.71]]></domain-name>
		</domain-names>
	</site>
	<create-action><![CDATA[/vyre4/pub_module/pageview406_37?portal:componentId=529&portal:type=render&portal:isSecure=false&portal:portletMode=add]]></create-action>
	<virtual-path id="32">
		<view-action><![CDATA[/vyre4/pub_module/pageview406_37?portal:componentId=529&portal:type=render&portal:isSecure=false&portal:portletMode=display&virtualPathId=32]]></view-action>
		<edit-action><![CDATA[/vyre4/pub_module/pageview406_37?portal:componentId=529&portal:type=render&portal:isSecure=false&portal:portletMode=add&virtualPathId=32]]></edit-action>
		<delete-action><![CDATA[/vyre4/pub_module/pageview406_37?portal:componentId=529&portal:type=action&portal:isSecure=false&portal:portletMode=view&action=delete&virtualPathId=32]]></delete-action>
		<path><![CDATA[/bob]]></path>
		<page id="406">
			<name><![CDATA[unf-2138]]></name>
			<path><![CDATA[/unf-2138]]></path>
		</page>
	</virtual-path>
</virtual-paths>

See Also

External Links

EXTERNAL SITES

Personal tools