Not signed in ( Sign In)

Categories

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

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

    •  
      CommentAuthorNoWhereMan
    • CommentTimeAug 25th 2010 edited
     permalink
    I have committed in the extras section of the SVN repository a simple attempt at an ajax handler for entry previews;

    it will only work for already created entries (this is just because new entries don't have a "preview" area on the top); feel free to play with it.

    also, it will only work with r347 r347+ where I committed support for admin plugin hooks (experimental!): you should now be able to hook any admin panel with your plugins to add even triggers! ain't that kewl??
    •  
      CommentAuthorpierovdfn
    • CommentTimeAug 25th 2010 edited
     permalink
    Thanks!
    For AJAX preview, jQuery rules :-)
    Thanks also fot the admin panel hooks!
    Now I can make redirects after editing statica pages, too!
    •  
      CommentAuthorNoWhereMan
    • CommentTimeAug 25th 2010 edited
     permalink
    I'm open to suggestions for the js code since I'm very new to jQuery: I don't know if I'm doing it right! :)
    •  
      CommentAuthorlaborix
    • CommentTimeAug 26th 2010 edited
     permalink
    SVN 349 and IE 8:

    Create a new entry and then press "Preview" in IE 8, nothing will happen. IE 8 display an error in the status line:

    Details zum Fehler auf der Webseite

    Benutzer-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0)
    Zeitstempel: Thu, 26 Aug 2010 10:19:35 UTC


    Meldung: 'offset().top' ist Null oder kein Objekt
    Zeile: 34
    Zeichen: 9
    Code: 0
    URI: http://.../htdocs/fp-plugins/ajaxadmin/res/admin.entry.write.js


    If you press "Publish" after "Preview", a blank white page came up with "We apologize, an error occurred.".

    If you create a new entry and press "Publish" without any other things, the entry will saved and insert in the blog correct. If you edit this entry after publishing by press "edit" in the blog and make some corrections, also a blank white page came up with "We apologize, an error occurred.". The entry had the old content, no changes are in this entry.
    •  
      CommentAuthorNoWhereMan
    • CommentTimeAug 26th 2010
     permalink
    be aware that the plugin is experimental and unfinished. also, I'm not testing IE yet
    •  
      CommentAuthorlaborix
    • CommentTimeAug 26th 2010
     permalink
    Ok, no more comments until it is marked as stable :)
    •  
      CommentAuthorNoWhereMan
    • CommentTimeAug 26th 2010
     permalink
    I have just tested and IE8 looks fine to me. be aware I have updated FP on SVN since yesterday, with some changes to the regular admin panel
    •  
      CommentAuthorflat2007
    • CommentTimeSep 5th 2010
     permalink
    what about ajax comments? I have tried some time ago, and posted it here.
    •  
      CommentAuthorpierovdfn
    • CommentTimeSep 6th 2010
     permalink
    Posted By: flat2007what about ajax comments? I have tried some time ago, and posted ithere.

    It's not compatible now...
    The problem was jQuery on December 2008 but now the situation is the opposite.
    Now I ported the js of the Widget Admin Panel to jQuery and NoWhereMan included in standard distribution.
    •  
      CommentAuthorNoWhereMan
    • CommentTimeSep 6th 2010
     permalink
    it should not be hard now, the problem is it would be highly theme-dependant
    •  
      CommentAuthorNoWhereMan
    • CommentTimeSep 6th 2010
     permalink
    it should not be hard now, the problem is it would be highly theme-dependant