Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    •  
      CommentAuthorBen
    • CommentTimeJan 5th 2006
     # 1
    I'm having a slight problem..

    Now that Mark's transferred this forum over to 0.9.3 none of the little javascript widgets are working for me.

    I can't change styles, block categories, nothing.

    I'm using Firefox 1.0.7 on Windows XP
    A hard refresh does nothing, and the Javascript console shows nothing.

    Anyone got any ideas?
    •  
      CommentAuthorMark
    • CommentTimeJan 5th 2006
     # 2
    Yeah, I'm pretty confused by this one. Everything works fine for me both as a master admin and as a regular member in every browser I've got.

    I got ben to check the js console in firefox, and he said there were no errors. So I'm a little dumbfounded.

    Is anyone else having this problem?
  1.  # 3
    cant say i am.
    •  
      CommentAuthorBen
    • CommentTimeJan 5th 2006 edited
     # 4
    Oh, and everything works fine on the Dev forum, just not here.
    •  
      CommentAuthorlech
    • CommentTimeJan 7th 2006
     # 5
    If you have the web-dev toolbar installed (it's possible) have you inadvertantly disabled js?
    •  
      CommentAuthorlech
    • CommentTimeJan 7th 2006
     # 6
    also, UPGRADE FIREFOX! sheesh...
    •  
      CommentAuthorBen
    • CommentTimeJan 7th 2006
     # 7
    Hmm, just as mysteriously everything is fixed.

    I do have the web-developer toolbar installed, but the only thing I had disabled was the popup-blocker.
    However, after disabling this and trying to change styles, it worked! But it still works when I disable the popup-blocker again.
    So I have no idea what must have actually been causing the problem.
    •  
      CommentAuthorBen
    • CommentTimeJan 7th 2006 edited
     # 8
    Oh, and the post preview now seems to have stopped working...
    There's nothing inside the preview box when I click the button.

    But, I do now get a whole host of errors in the Javascript Console.


    Warning: redeclaration of var DataManager
    Source File: http://lussumo.com/community/js/global.js
    Line: 89, Column: 7
    Source Code:
    var DataManager = new Ajax.Request(

    There're lots for prototype.js, effects.js and controls.js

    Warning: anonymous function does not always return a value
    Source File: http://lussumo.com/community/js/prototype.js
    Line: 671, Column: 2
    Source Code:
    },


    Warning: anonymous function does not always return a value
    Source File: http://lussumo.com/community/js/builder.js
    Line: 69, Column: 19
    Source Code:
    return element;
  2.  # 9
    I've a feeling post preview is broken in general. SirNot's on it i think.
  3.  # 10
    Prototype sucks - mark, BIG MISTAKE moving to it, it's faster to make it yourself and much cleaner.
    •  
      CommentAuthorBergamot
    • CommentTimeJan 7th 2006
     # 11
    Huh?
    • CommentAuthorSirNot
    • CommentTimeJan 7th 2006
     # 12
    >I've a feeling post preview is broken in general. SirNot's on it i think.

    Well, yes and no. I did find an error in it that occured in certain circumstances, but that obviously has nothing to do with the reason it's down, mainly because I've fixed that already. It seems to be something wrong with the interaction between the js and php, but everything works flawlessly on my own test server, so I'm sort of in the dark with it all...
    •  
      CommentAuthorBen
    • CommentTimeJan 7th 2006
     # 13
    Gah.. while the javascript now works here, it doesn't in other places.
    I'm completely confused now. I haven't got anything disabled, no JS errors, and I haven't added any new extensions recently that could be causing this.

    Does anyone have any ideas at all?
    •  
      CommentAuthorMark
    • CommentTimeJan 7th 2006
     # 14
    Prototype sucks - mark, BIG MISTAKE moving to it, it's faster to make it yourself and much cleaner.

    I had written my own for 0.9.2 and it sucked big time. If you want to write a better one, feel free.
    •  
      CommentAuthorgiginger
    • CommentTimeJan 7th 2006
     # 15
    Have you considered the mad4milk mini prototype?
    •  
      CommentAuthorMark
    • CommentTimeJan 7th 2006
     # 16
    link?
    •  
      CommentAuthorBen
    • CommentTimeJan 7th 2006 edited
     # 17
    • CommentAuthorSpookyET
    • CommentTimeJan 7th 2006 edited
     # 18
    I can confirm this. My installation of Vanilla is very slow in everything except Opera. While, everything seems to be mostly working, the AJAX does not seem to be working in Firefox and IE. That little box does not pop-up and the status bar keeps changing a million times before the page loads.

    PS: The CSS is very broke in Opera. All that absolute positioning isn't working properly.
    •  
      CommentAuthorgiginger
    • CommentTimeJan 7th 2006
     # 19
    I always forget the useful stuff.

    ben has the right link.
    •  
      CommentAuthorMark
    • CommentTimeJan 7th 2006
     # 20
    Does that library do ajax stuff as well?
    They don't mention it on their tiny site.
  4.  # 21
    Their ajax stuff can be found here - http://www.mad4milk.net/entry/moo.ajax
    •  
      CommentAuthorMark
    • CommentTimeJan 10th 2006
     # 22
    I've been looking into this, and while moo.fx is nice, it doesn't have any drag/drop capabilities (that I can see). I need to be able to do sorting like on the settings > Category form. It also doesn't have any nice autocomplete methods (to allow for using arrow keys to navigate and select an ajaxed autocomplete list).

    I realize that the library is insanely huge, so I want to replace it with something else. Does anyone have any suggestions?
    •  
      CommentAuthorMark
    • CommentTimeJan 12th 2006
     # 23
    None at all?
    •  
      CommentAuthorlech
    • CommentTimeJan 12th 2006
     # 24
    I got nothing. :\
    •  
      CommentAuthorgiginger
    • CommentTimeJan 12th 2006
     # 25
    Moofx is the only one I know that's small. The rest are all massive.

    Dojo, prototype, scriptaculous. They're from the same base as well I think.
    • CommentAuthornick1presta
    • CommentTimeJan 12th 2006 edited
     # 26
    I'm getting about 15 or so javascript warnings - could that be it?

    Also, I will try to look for another library or try to modify the existing one...



    Edit: Just to note, everything javascript wise is working for me just fine.
    • CommentAuthorSirNot
    • CommentTimeFeb 14th 2006 edited
     # 27
    Sorry about dredging all this back up again, but in regard to other ajax/ui effects libraries, mark, have you seen the Yahoo UI library? It's completely free and seperates all the functionality into different components, so you wouldn't have to include a huge 50kb script just for a little ajax. I haven't really given it a good look yet, but it might be worth a try.
    •  
      CommentAuthorBergamot
    • CommentTimeFeb 14th 2006
     # 28
    Yeah, I saw that on Daring Fireball this morning; it looks pretty cool.
Add your comments
    Username Password
  • Format comments as