+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 35

Thread: Sticky Notes Plugin

  1. #1
    rosali's Avatar
    rosali is offline Super Moderator
    Join Date
    Dec 2007
    Location
    Germany
    Posts
    2,392
    Downloads
    36
    Uploads
    0

    Default Sticky Notes Plugin

    There were some requests for Sticky Notes plugin from Squirrelmail users.

    I have coded the framework (attached).

    I need some help from the professional to get it perfect:

    /**
    *
    * ToDo: Switch button if $count > 0 (need notes button merged with a red exclamation mark)
    * Limit amount of notes (has to be done in the jquery stuff)
    * Min width/height when resizing a note (has to be done in the jquery stuff)
    * More appropriate background than this ugly wooden wallpaper
    *
    **/

    Notice: There are two plugins attached (sticky_notes and jquery plugin)!
    Attached Files
    Regards,
    Rosali

    __________________
    MyRoundcube Project http://myroundcube.googlecode.com
    MyRoundcube Online Demo - Free Email Address http://mail4us.net
    MyRoundcube Plugins Generic Installation Guide http://mail4us.net/myroundcube/index.php
    Mailing List http://mail4us.net/?_action=plugin.nabble

  2. #2
    rosali's Avatar
    rosali is offline Super Moderator
    Join Date
    Dec 2007
    Location
    Germany
    Posts
    2,392
    Downloads
    36
    Uploads
    0

    Default

    Forgot to mention:

    Please remove: public $task = "dummy";

    Forgot to do that (it is debugging code).
    Regards,
    Rosali

    __________________
    MyRoundcube Project http://myroundcube.googlecode.com
    MyRoundcube Online Demo - Free Email Address http://mail4us.net
    MyRoundcube Plugins Generic Installation Guide http://mail4us.net/myroundcube/index.php
    Mailing List http://mail4us.net/?_action=plugin.nabble

  3. #3
    rosali's Avatar
    rosali is offline Super Moderator
    Join Date
    Dec 2007
    Location
    Germany
    Posts
    2,392
    Downloads
    36
    Uploads
    0

    Default

    A question for the professionals ...

    Are there any concerns to have a <link ..> tag for stylesheets in the body section instead of the head?

    The background of this question is that I plan to implement some template_object_... hooks in the jquery plugin to get f.e. the datepicker with a template_object instead of having all the stuff in the skin template.
    Regards,
    Rosali

    __________________
    MyRoundcube Project http://myroundcube.googlecode.com
    MyRoundcube Online Demo - Free Email Address http://mail4us.net
    MyRoundcube Plugins Generic Installation Guide http://mail4us.net/myroundcube/index.php
    Mailing List http://mail4us.net/?_action=plugin.nabble

  4. #4
    skaero's Avatar
    skaero is offline Administrator
    Join Date
    Jun 2006
    Location
    USA - New Mexico
    Posts
    2,085
    Downloads
    5
    Uploads
    0

    Default

    The <link> tag should only go it the header the html won't validate in the body, It may not work in all browser because of that. I'd recommend trying to get it in the header but if you can't try it in the body and see if it works. Nice plugin, can you make the sticky note change color?

  5. #5
    rosali's Avatar
    rosali is offline Super Moderator
    Join Date
    Dec 2007
    Location
    Germany
    Posts
    2,392
    Downloads
    36
    Uploads
    0

    Default

    Thanks skaero,

    I saw here jQuery Sticky Notes Plugin that it might be also ok in the body section.

    Could you please be more detailed what you expect by "change color". Currently it is using a background image. So, I would need new images and I'm not really skilled in image designing.
    Regards,
    Rosali

    __________________
    MyRoundcube Project http://myroundcube.googlecode.com
    MyRoundcube Online Demo - Free Email Address http://mail4us.net
    MyRoundcube Plugins Generic Installation Guide http://mail4us.net/myroundcube/index.php
    Mailing List http://mail4us.net/?_action=plugin.nabble

  6. #6
    skaero's Avatar
    skaero is offline Administrator
    Join Date
    Jun 2006
    Location
    USA - New Mexico
    Posts
    2,085
    Downloads
    5
    Uploads
    0

    Default

    I was think of option to change the sticky color so I could have a blue, green, yellow, etc. colored sticky to categorize notes.

  7. #7
    doctor madness is offline Registered User
    Join Date
    Dec 2009
    Posts
    21
    Downloads
    0
    Uploads
    0

    Default

    Hi,

    I was ready to learn php just to try to make this plugin
    So, I get the archive, i unzipped it, stored both directory (sticky_notes and jquery) in plugins directory,added 'sticky_notes' to my plugins list, but then nothing happened, no "notes" or similar appears. How may I use this pluging ?

  8. #8
    skaero's Avatar
    skaero is offline Administrator
    Join Date
    Jun 2006
    Location
    USA - New Mexico
    Posts
    2,085
    Downloads
    5
    Uploads
    0

    Default

    In the sticky_notes.php remove the line:
    Code:
    public $task = "dummy";
    its on line 34.

  9. #9
    dinhnguunguyen is offline Roundcube Newcomer
    Join Date
    Feb 2010
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default

    When I add sticky notes:
    1. Roundcube load incorrect in IE (layout is broken and IE diplay error: Webpage error details

    Message: Invalid argument.
    Line: 88
    Char: 9
    Code: 0
    URI: http://...../skins/default/splitter.js?s=1265005198)
    2. Repeat message: Server Error (Ok)
    Please help me!

  10. #10
    skaero's Avatar
    skaero is offline Administrator
    Join Date
    Jun 2006
    Location
    USA - New Mexico
    Posts
    2,085
    Downloads
    5
    Uploads
    0

    Default

    Is there anything in your error logs.

+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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