cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hopkins, Michael" <>
Subject RE: CloudStack UI Plugins section not showing
Date Tue, 21 Jul 2015 18:45:10 GMT
Thanks very much Rohit,
The plugins section is now displaying, I believe because I removed plugins.js.gz. I'm using
Cloudstack version 4.5.1
From: Rohit Yadav []
Sent: Tuesday, July 21, 2015 12:00 PM
Subject: Re: CloudStack UI Plugins section not showing

Define and include your plugin in the top plugins.js file, also remove any .js.gz file. Which
CloudStack branch are you working against? Make sure to define correct names and use something
like firebug or chrome dev-tools to see if require.js is missing to load any plugin asset
(like js, css, image files).

I’m currently working on a UI plugin, if this gives you any hints:

On 21-Jul-2015, at 4:05 pm, Hopkins, Michael <<>>

I’m trying to write a 3rd party UI plugin for cloudstack for a university project, unfortunately
I can’t seem to get the “plugins” section of the UI to display.

In usr/share/cloudstack-management/webapps/client/plugins

I have two test plugins “testPlugin” and “csMyFirstPlugin” which are folders containing
all the relevant files as per the tutorial provided in the documentation.

In plugins.js I have registered them as per the instructions in the tutorial.

It seems that in /scripts/cloudStack.js the plugins section is hidden if cloudstack.plugins.length
is 0.

I thought that registering the plugins in plugins.js would suffice to make the section visible
but is there another step? I can’t find any answers online.

Thanks, Michael

Rohit Yadav
Software Architect, ShapeBlue

M. +91 88 262 30892 |<>
Blog:<> | Twitter: @_bhaisaab

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<>
CSForge – rapid IaaS deployment framework<>
CloudStack Consulting<>
CloudStack Software Engineering<>
CloudStack Infrastructure Support<>
CloudStack Bootcamp Training Courses<>

This email and any attachments to it may be confidential and are intended solely for the use
of the individual to whom it is addressed. Any views or opinions expressed are solely those
of the author and do not necessarily represent those of Shape Blue Ltd or related companies.
If you are not the intended recipient of this email, you must neither take any action based
upon its contents, nor copy or show it to anyone. Please contact the sender if you believe
you have received this email in error. Shape Blue Ltd is a company incorporated in England
& Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated
under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated
in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company
registered by The Republic of South Africa and is traded under license from Shape Blue Ltd.
ShapeBlue is a registered trademark.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message