New jQuery Plugin released for MySource Matrix


(Robin Shi) #81

[quote]Maybe the no trigger method needs some bug fixes.


Could you let me know how to set this up, so I can see if it is indeed a bug?[/quote]



Sure Nic.

In the asset list page contents, I insert the Ajax calls

    

in the default format I inserted the code as below,

    
  • %asset_name%


  • this asset list page is nested in the simple edit interface.

    Thank you!
    Robin

    (Robin Shi) #82

    Hi Nic,


    Don’t worry about that. I have figured out that it’s caused by firebug. I’ve tested the plugin with IE and Safari, both work great!



    Great job!



    I hope I will see you in the conference in Tassie.



    Robin :lol:’ /> :lol: <img src=‘http://forums.matrix.squiz.net/public/style_emoticons/<#EMO_DIR#>/laugh.gif’ class=‘bbc_emoticon’ alt=’:lol:


    (Nic Hubbard) #83

    [quote]Hi Nic,


    Don’t worry about that. I have figured out that it’s caused by firebug. I’ve tested the plugin with IE and Safari, both work great!



    Great job!



    I hope I will see you in the conference in Tassie.



    Robin :lol:’ /> :lol: <img src=‘http://forums.matrix.squiz.net/public/style_emoticons/<#EMO_DIR#>/laugh.gif’ class=‘bbc_emoticon’ alt=’:lol:[/quote]



    Really, this is great news. I have been testing it, and although it does work perfectly in my test suite in 3.18.8, I am checking for a bug in 3.20.1. How was firebug causing this issue?



    I would love to make it to AU this year, but really not sure I will be able to make it. :frowning:


    (Robin Shi) #84

    [quote]Really, this is great news. I have been testing it, and although it does work perfectly in my test suite in 3.18.8, I am checking for a bug in 3.20.1. How was firebug causing this issue?


    I would love to make it to AU this year, but really not sure I will be able to make it. :([/quote]

    Hi Nic,

    It’s gonna be a really pity for the absence of the Matrix Star. :(’ /> :( <img src=‘http://forums.matrix.squiz.net/public/style_emoticons/<#EMO_DIR#>/sad.gif’ class=‘bbc_emoticon’ alt=’:frowning:

    I cannot figure out how firebug stops the Ajax post for I have very limited skills of JS.



    I have another question for matrixFrame. The iframed simple edit interface is launched by “?SQ_DESIGN_NAME=xxx”, after clicking “commit” it returns to the default design. How do you get around that?

    Thanks,



    Robin


    (Nic Hubbard) #85

    Well, when I use MatrixFrame, I pair it with MatrixForm, so that it submits the frames via ajax, so that they don't refresh, so I have not had this problem. But, you can set a design and make it stick using something like ?SQ_DESIGN_NAME=text_only&SQ_ACTION=set_design_name which should then set that design. BUT, honestly, I am not sure if that sets the design just for your user to see, or if other users would see it too. To remove it, you need to do something like ?SQ_DESIGN_NAME=text_only&SQ_ACTION=clear_design_name.

    Hope this helps.

    (Robin Shi) #86

    [quote]Well, when I use MatrixFrame, I pair it with MatrixForm, so that it submits the frames via ajax, so that they don’t refresh, so I have not had this problem. But, you can set a design and make it stick using something like ?SQ_DESIGN_NAME=text_only&SQ_ACTION=set_design_name which should then set that design. BUT, honestly, I am not sure if that sets the design just for your user to see, or if other users would see it too. To remove it, you need to do something like ?SQ_DESIGN_NAME=text_only&SQ_ACTION=clear_design_name.


    Hope this helps.[/quote]

    :lol:’ /> :lol: :lol: <br />
That's exactly same as I had thought at first place. :lol: :lol: <img src=‘http://forums.matrix.squiz.net/public/style_emoticons/<#EMO_DIR#>/laugh.gif’ class=‘bbc_emoticon’ alt=’:lol:

    Thank you Nic!


    (Nic Hubbard) #87

    Hey everyone, just letting you know that my jQuery Matrix plugin has been updated to allow matrixForm() to work with the custom Poll asset.


    A new option, “noFade” has been added to support this.



    Feel free to download a new copy of the plugin from github.



    Quick and dirty demo: download a new copy of the plugin from github


    (Duncan Robertson) #88

    How it it possible that this thread has been viewed 2 million times?


    (Nic Hubbard) #89

    I have no idea! I was wondering the same thing. I have linked it in a few places, and talk about the plugin as well as Matrix on my blog, maybe Google is directing people here...

    (Robin Shi) #90

    Hi guys,


    We have developed our customised simple editing interface using Nic's ajax plugin -> multiple delete. This interface is mainly using javascript with the frame method because it seems ajax cannot handle binary file uploading easily. Here are two demos.


    The JS code written by our programmer is very customised for our Matrix settings but I hope the frame method would give you guys here some other ideas.

    If you have any comments or questions I am happy to explain or forward to our programmer.

    :lol:' /> ;) <img src='http://forums.matrix.squiz.net/public/style_emoticons/<#EMO_DIR#>/laugh.gif' class='bbc_emoticon' alt=':lol:

    (Nic Hubbard) #91

    Correct, ajax does not support file uploading as it is a security risk. That is why for the matrixForm plugin I had to be sure to upload to a hidden iframe if the user is uploading a file. :)

    (Robin Shi) #92

    Yes. As a plus by using iframe method it's easy to have the asset name and status updated from the server return.


    (Duncan Robertson) #93

    That really looks nice!


    (Pw) #94

    I prepared testing page that is very similar to matrixFilter demo


    I’m using two js:

    jquery.matrix.js

    jquery-1.3.2.min.js



    I’m trying to matrixFilter get to work, but

    <input id=“filter” type=“text” /> <span id=“count”></span>

    doesn’t appear in my target. Any sugestions? :unsure:


    (Nic Hubbard) #95

    [quote]
    I'm trying to matrixFilter get to work, but

    <input id="filter" type="text" /> <span id="count"></span>

    doesn't appear in my target. Any sugestions? :unsure:

    [/quote]



    Could you show me the code that you are using to call the plugin?


    (Pw) #96

    [quote]
    Could you show me the code that you are using to call the plugin?

    [/quote]

    I sent my whole page source in email throw this forum. Thanks in advance!


    (Pw) #97

    nnhubbard helped me - very smart guy. The problem was that I included jquery.matrix.js before jquery.js on my site.