Hi Warrel,

warrell harries wrote:
Hi Jeroen,

I'm using DAVExplorer and have set the displayname property to configuration
so it looks Ok. But I only get that far if I remove the top-level
component.xml e.g. the one that contains :-

The problem is that the actual url structure should contain /configuration/ and you can do anything with the displayname, because it's just a property.


<?xml version="1.0" encoding="UTF-8"?>
<perspectives id="pm" className="PerspectiveManager">
  <perspective 
src="cocoon://workbench/repository-configuration/perspectives/dashboard"/>
  <perspective 
src="cocoon://workbench/standard-configuration/perspectives/search"/>
  <perspective 
src="cocoon://workbench/standard-configuration/perspectives/documents"/>
  <perspective 
src="cocoon://workbench/standard-configuration/perspectives/assets"/>
  <perspective 
src="cocoon://workbench/standard-configuration/perspectives/editing"/>
</perspectives>

I guess we first need to figure out if your dashboard components loads from the repository.

Try http://localhost:50000/workbench/repository-configuration/perspectives/dashboard in your browser and see if that gives you the configuration.


If this file is there I get the errors I mentioned e.g. Class WebApp
was not found followed by TypeError component has no properties

The type error occurs when one of the perspectives could not be loaded.

The other thing I noticed was that the lines that are un-commented
don't contain the perspectives directory in the original file.

Still stuck I'm afraid. Can you post what the dashboardusers and
dashboardpermissions component.xml should look like?

The files should look like this (they should be in the repository underneath configuration/perspectives/dashboard/views:

dashboardusers/component.xml
      <view
          id="dashboardusers"
          label="cms.dashboard.submenu.tab.users"
          className="UsersView"
          appUrl="/slide/admin/views/users"
          editUserUrl="/slide/admin/views/editUser"
          icon="users"
          bootParam=""
          style="usersview"
          />

dashboardpermissions/component.xml

      <view
          id="dashboardpermissions"
          label="cms.dashboard.submenu.tab.permissions"
          className="PermissionsView"
          appUrl="/slide/admin/views/permissions"
          icon="permissions"
          bootParam="/"
          style="permissionsview"
          />

I now see some more improvements to the wiki page.



It looks like I may have to abandon this particular task which is a shame.

Yes definitly. Don't worry together we will find a solution. :-)

Thanks

No problem. I will try to change the wiki page again tonight or first thing tomorrow morning. If that does not explain it, I will send the content of a correct filesystem setup to this list.

Regards,

Jeroen
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Reply via email to