Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Scribite + bbsmile working together in 0.8?
  • Posted: 09.01.2008, 21:03
     
    mdee24
    rank:
    Softmore Softmore
    registered:
     October 2007
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    67
    Hi guys,

    is there someone who using this 2 hook modules together? I would like to use them, like when I click on smilies, then they will be inserted automatically to the text area of scribite editor (I'm using tiny_mce), but the problem is, when I click on any smile I got this error:

    Code

    uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLTextAreaElement.selectionStart]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://localhost/modules/pn_bbsmile/pnjavascript/dosmilie.js :: AddSmilie :: line 44" data: no]


    any idea?

    I don't want to use smilies which are in scribite editors built-in already.

    thanks for any help.
    Martin
  • Posted: 09.01.2008, 22:51
     
    AmmoDump
    rank:
    Professional Professional
    registered:
     December 2003
    Status:
    offline
    last visit:
    21.11.08
    Posts:
    2975
    I would start by checking the path (to the images) from the emotions plugin.

    --
    David Pahl
    Zikula Support Team
  • Posted: 10.01.2008, 01:43
     
    mdee24
    rank:
    Softmore Softmore
    registered:
     October 2007
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    67
    Problem is solved and it works pretty well. If someone wants to know how to do that, let me know here.
  • Posted: 10.01.2008, 03:16
     
    AmmoDump
    rank:
    Professional Professional
    registered:
     December 2003
    Status:
    offline
    last visit:
    21.11.08
    Posts:
    2975
    You should always post a solution... It is the polite thing to do.

    --
    David Pahl
    Zikula Support Team
  • Posted: 14.01.2008, 02:49
     
    mdee24
    rank:
    Softmore Softmore
    registered:
     October 2007
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    67
    AmmoDump, sorry, you are right. I Put the solution here, but first I need to correct some bug in JS, 'cause I realised there is some bug with IE :(

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula