cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paco Orozco <paco.oro...@upcnet.es>
Subject Re: CS Custom UI on 4.5
Date Mon, 09 Nov 2015 06:31:24 GMT
Hi Erik,

Yes, I've delete *.js.gz files.

The customization that is not working is:

On index.jsp I've included:

[code]
<script type="text/javascript" src="scripts/upcnet.js?t=<%=now%>"></script>
[/code]

And on upcnet.js I've included:

[code]
(function(cloudStack) {
        cloudStack.sections.upcnet = {
                title: '<div style="display:inline;"
onclick="window.open(\'../gestio\')">Enterprise Hybrid Cloud</div>'
        };
})(cloudStack);
[/code]

On previous versions, this code allows me to add a link on left
navigation bar to my "Enterprise Hybrid Cloud".

On 4.5.2 is not working anymore :-(

Thanks
Paco

On 08/11/15 18:06, Erik Weber wrote:
> Did you delete the *.js.gz files?
> 
> Erik
> 
> Den søndag 8. november 2015 skrev Paco Orozco <paco.orozco@upcnet.es>
> følgende:
> 
>> Hello,
>>
>> We've just upgraded our CloudStack portal to 4.5.2, from 4.4.4.
>>
>> We've been using some custom UI modifications in order to add two
>> external links to left navigation bar, and change the help button to a
>> own maintained wiki.
>>
>> After this upgrade It doesn't work. I've revised all my code (mainly
>> *.js files) and It's ok. I've test it on a CS 4.4.4 without problems.
>>
>> Has something change on CS 4.5?
>>
>> Thanks in advance
>> Paco
>>
>> --
>> Paco Orozco (paco.orozco@upcnet.es <javascript:;>)
>> SIP: paco.orozco@upcnet.es <javascript:;>
>> Backoffice. Àrea de Serveis TIC
>> UPCNet
>> Edifici Vértex - Pl. Eusebi Güell, 6
>> Teléfon centraleta: 93.40.11600
>> GPG Key ID: 0x3EDEC0AC
>>
> 

-- 
Paco Orozco (paco.orozco@upcnet.es)
SIP: paco.orozco@upcnet.es
Service Operation
UPCNet
Edifici Vértex - Pl. Eusebi Güell, 6
Teléfon centraleta: 93.40.11600
GPG Key ID: 0x3EDEC0AC


Mime
View raw message