Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-24-2010, 11:09 PM
Junior Member
 
Posts: 5
Default Zimbra skin

To customize zimbra skin i want some standerd js needs to be loaded before login screen.

i have already import js in login.jsp...it won't work.

any solutions to import standerd js from skins folder.
Reply With Quote
  #2 (permalink)  
Old 06-11-2010, 03:18 PM
Project Contributor
 
Posts: 92
Default

I think you can do that by adding a line to skin's manifest.xml file like below:

Quote:
<advanced>
<script>
<file>../_base/base2/ZmSkin.js</file>
<file>(your javascript file name)</file>
</script>

</advanced>
* This is the case where you put your javascript file into the same directory as manifest.xml file's directory. If you put that into other directory, you have to add path info also like the line for ZmSkin.js above.

Please try this. And let me know how it goes.
Reply With Quote
  #3 (permalink)  
Old 06-13-2010, 09:53 PM
Junior Member
 
Posts: 5
Default

It won't work because this manifest file you describe to me is loaded before all standard java script class loads.

So, it wont be a solution

Please give me another solutions if u have.
__________________
Hiren Panchani
Reply With Quote
  #4 (permalink)  
Old 06-16-2010, 09:48 AM
Project Contributor
 
Posts: 92
Default

Hi hpanchani,

Then how about this?
I do not know how many standard javascript files you need on login screen.
But you can do somthing like this one by one.
Quote:
<file>../../js/ajax/xml/AjxSerializer.js</file>
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.