Results 1 to 10 of 10

Thread: [SOLVED] simple rul zimlet ?

  1. #1
    Join Date
    Dec 2006
    Posts
    184
    Rep Power
    8

    Default [SOLVED] simple rul zimlet ?

    From my understanding initially, the url zimlet deployed by a default install would give you a mini-window with an image of the contents of that url.

    But what we would like to is a simple url generator. That is, if standard text message contains an url, it would automatically make it a clickable, as a similar functionality in most mail clients (thunderbird for example).

    I did enable the zimbra url zimlet for a couple of users via the admin gui (disabled by default for that particular cos), but it doesn't seem to work at all (not even giving me the thumbnail images).

    Any ideas ? Thank you advance...
    Last edited by su_A_ve; 01-24-2008 at 02:22 PM.

  2. #2
    Join Date
    Apr 2007
    Location
    Paris, France
    Posts
    367
    Rep Power
    8

    Default

    The URL zimlet give a mini-window with an image of the contents of that url. But it automatically make it a clickable too.

    Did you verified in the admin GUI that your zimlet is enabled? Not only on your users properties but on the zimlet panel too.

  3. #3
    Join Date
    Dec 2006
    Posts
    184
    Rep Power
    8

    Default

    Argh... hitting a bug...

    * Zimlet is enabled within the zimlet panel of the admin gui
    * Zimlet is DISABLED for COS
    * Zimlet is ENABLED (overriding COS) for the user

    Zimlet doesn't work...

    If I eanble it for the COS, then it works, and I can disable it for the user...

    In any case, I want to disable the 'preview', which works half the time. I should be an option at most. The link should just be made clickeable, similar to what other mail clients do already.

  4. #4
    Join Date
    Apr 2007
    Location
    Paris, France
    Posts
    367
    Rep Power
    8

    Default

    Well you are free to modify the zimlet URL to make your own with no previews. It shouldn't be very difficult.

  5. #5
    Join Date
    Apr 2007
    Location
    Paris, France
    Posts
    367
    Rep Power
    8

    Default

    I looked at the zimlet. You just have to change 1 line in the file config_template.xml :
    <property name="disablePreview">false</property>
    into
    <property name="disablePreview">true</property>

  6. #6
    Join Date
    Dec 2006
    Posts
    184
    Rep Power
    8

    Default

    Excellent - I'll give it a shot...

    (I hate having to wear the programmer hat)

  7. #7
    Join Date
    Dec 2006
    Posts
    184
    Rep Power
    8

    Default

    Actually not good - There's NO option to disable it. Note that I'm on 4.5 still. Must be an option on 5x ?

  8. #8
    Join Date
    Apr 2007
    Location
    Paris, France
    Posts
    367
    Rep Power
    8

    Default

    Yes I have it on 5.01.
    Then you need to change the code of the js file.
    If you can give me a link to download your version of the zimlet I can look at it for you.

  9. #9
    Join Date
    Dec 2006
    Posts
    184
    Rep Power
    8

    Default

    Someone already invented the whell Found a bug when looking at filing a bug for what I now see (cannot enable a zimlet for a user, if the zimlet is disabled for the COS).

    Bug 16014 - Remove Websnapr preview from URL zimlet

    The followin thread discusses it.

    http://www.zimbra.com/forums/zimlets...keep-urls.html

  10. #10
    Join Date
    Apr 2007
    Location
    Paris, France
    Posts
    367
    Rep Power
    8

    Smile

    Cool. But too bad no one said it before.
    Anyway, whatever the version of zimbra you use, suppressing "Com_Zimbra_Url.prototype.toolTipPoppedUp = function(spanElement, obj, context, canvas) { ... };" in the js file should be enough to disable the thumbnail.

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  2. Outlook 2007 Beta error
    By bersrker in forum Zimbra Connector for Outlook
    Replies: 13
    Last Post: 07-17-2008, 08:38 AM
  3. Replies: 5
    Last Post: 01-11-2008, 05:34 AM
  4. Domain Admin Error: Permission Denied
    By shanson in forum Administrators
    Replies: 3
    Last Post: 05-29-2007, 06:48 AM
  5. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •