Jump to content

adamw

Former Frog Staff
  • Posts

    515
  • Joined

  • Last visited

Everything posted by adamw

  1. I have an idea on how we could do something like this using forms - however the form system won't support it yet. I'll have a word with @Graham Quince - because I get the feeling he will know what I'm talking about
  2. Sounds like it needs a quick re-visit to see what's going on. @Matt
  3. Just a couple of brackets in the wrong place: FrogOS.fdp({ path: Frog.Utilities.getBaseUrl() +'/api/2/', url: '', data: { method: 'users.getChildren' } }).done(function(response) { var count = response.data.length; if (count == 0) { var result = "no children found"; } //loop over all returned children here: for (var i = 0; i < response.data.length; i++) { var user = response.data[i]; var result = user.username; } }.bind(this));
  4. Try something like this: FrogOS.fdp({ path: Frog.Utilities.getBaseUrl() +'/api/2/', url: '', data: { method: 'users.getChildren' } }.bind(this).done(function(response) { var count = response.data.length; if (count == 0) { //handle no results here - for example a 'no children found' message } //loop over all returned children here: for (var i = 0; i < response.data.length; i++) { var user = response.data[i]; //you can then use it like this: // var display_name = user.display_name; // var username = user.username; // etc... } }.bind(this));
  5. Just FYI, we've not forgotten about this. I'll keep pushing for it.
  6. Yes you can use the same API - all you need to do is send another param along with it that identifies the parent user: 'uuid' e.g. (untested but should be something like the below) var parent_users_uuid = "[some uuid goes here]"; var request_data = { url: 'user/getChildren', path: '../api/fdp/2/', dataType: 'json user', converters: { 'json user': function(data) { return data.response; }.bind(this) }, data: { 'user' : parent_users_uuid } } Frog.Model.fdpapi(request_data).done(function(response_data){ // response_data should contain the children of that user }.bind(this)).error(function(err){ //error handling here }); Note that you can only get the data for other users children if you have the correct role in Frog. Admins will probably already have this role by default, other users won't. If you want staff to use this widget then you'll have to find and activate the 'Get user data for all users' role which is in: Groups and policies -> [some group] -> Frog Developer Platform -> Users -> Get user data for all users. Hope that helps.
  7. If you want, I can request a copy of your DB and try it here. May be a couple of days before I get chance though. Or, we can wait and see how it looks after the next update?
  8. Ah, okay - I've seen this bug before. If you don't have the mark scheme manager expanded to fill the full screen then you will see the scroll bars appear. The infinite-scroller won't kick in unless the scroll-bars show. I'll make a note to get it fixed.
  9. @ADT if you scroll down more should load automatically - or you can use the filter buttons at the top and search for one by name.
  10. @ADT I replicated the data shown on my local development copy of Frog and this is what I got: I used the following grades in the markscheme: Can you confirm that is the same as the one you're using? It's possible that there was a bug that we've since fixed (I'll check into that). If not, then I could do with getting a copy of you're Frog DB so I can try and replicate the issue here.
  11. I'd have to look at how you're markscheme is set up to be able to see what's going on. Is that markscheme one brought over from SIMS or one you've made yourself? Shouldn't be, as the api's won't be changing.
  12. I'm not sure. Most likely, It'll still be accessible for a while, during which time we hope people will switch over to using Markbook. The new assignments list works in much the same way as the old one, just with a bit more information and some new shiny colours
  13. I'm sure once they see how much better it is, they'll adapt pretty quickly
  14. Eventually - but the new section in Markbook Manager should do everything and more that assignment manager used to do. If there's something that it looks like we've missed, then let us know!
  15. Certainly: fdp/2/user/getChildren That should do the trick. I don't think you need to pass any params as it will use the logged in users credentials.
  16. The extractor will pull aspects and results from SIMS, which I think is a part of PEP. You then use the Frog Parent manager to configure them all and the various attainment widgets to show them. The other things (except for the exam timetables) I don't know about I'm afraid.
  17. Ah cool, I'll have a think about that, may be worth investigation. As a side note, do you export your aspects to Frog and display the results anywhere?
  18. Is that set on a per subject basis? Are these related to aspects in SIMS somehow?
  19. I'm not up on my SIMS lingo - TMG's?
  20. Sorry it's taken me so long to see this. I did a quick search and found this: https://www.clocklink.com/gallery/24_hour I tried embedding the code from a few of them into a HTML widget in Frog and they seemed to work. Hope this helps!
  21. Just a quick update - I did a bit more testing and it seems that admins can delete anything via this widget - which is nice. Other users can see all the events, but only delete their own. If they press the delete button on one they don't own then it does nothing.
  22. Okay, So I spent some time at lunch creating a basic 'delete booking calendar event' widget. It's very bare-bones, but should serve as a good start for anyone to tweak to their own requirements. It'll only show you booking calendars which you have access to AND have events that you have created on. You can't delete other peoples events from here (including admins, sorry) - this is mainly due to how the back-end works (it's fairly old code). I've put the widget on the FrogCode repo - so @Graham Quince should be able to sort people out. Just to reitterate, I've not fully tested this, so use it at your own risk and feel free to use it as a base for a more comprehensive widget.
  23. adamw

    Date picker issue??

    Does sound like a bug - what happens if you remove the rule and recreate it?
  24. In system preferences -> file types -> select the profile you want to allow to use a new file type -> expand 'custom types' -> enter: vnd.ms-publisher then press add. You'll need to do this for all the profiles you want to enable publisher files for. As for why you need to do this - I suspect that it was probably missed when we created the original list, I'll see if we can get this added by default in future. @Matt Any problems, give the service desk a call - They'll be able to sort you out
×
×
  • Create New...