Jump to content

adamw

Former Frog Staff
  • Posts

    515
  • Joined

  • Last visited

Posts posted by adamw

  1. On 15/03/2019 at 18:10, pconkie said:

    Any thoughts? @adamw 

    Yeah, I have an idea - when you're not logged in you are technically authing as a special user in Frog. It might be possible to give this user the roles to access the datastore - but I have no idea if it will work - I've never tested it before!

  2. 6 minutes ago, ADT said:

    We have a Governor with a ' in her email address!!!!

    Frog wont let me add the address because it says its not valid?

    image.png

    To be honest, I had no idea you could use an apostrophe in an email address. I think we need to get this raised as a support ticket - then we can get a bug logged and get it fixed. Does she have another email address she can use in the meantime?

     

  3. 5 minutes ago, pconkie said:

    Related to this question @adamw

    I'm trying to use the frog datastore api. How do I allow anonymous users (not logged in) access to the get (I don't want create, update or delete, just get).  I'm seeing an access denied message when interacting with a page that is shared publicly while i'm not logged in. How did you get around this issue for your very useful visitcount widget (or does it not work for anonymous views?)

    Thanks  

    It doesn't work for non-logged in users - as for the datastore, I'm sure someone else asked this before and we came up with a way to sort this, but I've forgotton now what we were going to do! I'll have a think and get back to you :)

     

  4. I think widget.updated is called whenever a widget preference is changed, which then automatically calls widget.save - which is why you are probably not seeing anything happening when you're saving a site. I'll have a look in the code now, but if you can give me an example of the sort of thing you're trying to do, then it might steer me in the right direction :)

     

  5. Hey everyone. I had a quick rummage through the first few pages of the ideas portal and pulled out all the ideas which have been done (but not updated in the portal until now):

    https://ideas.frogcommunity.com/ideas/FRG-I-123 - Done as part of markbook 

    https://ideas.frogcommunity.com/ideas/FRG-I-989 Done as part of Markbook 

    https://ideas.frogcommunity.com/ideas/FRG-I-831

    https://ideas.frogcommunity.com/ideas/FRG-I-1242

    https://ideas.frogcommunity.com/ideas/FRG-I-237

    https://ideas.frogcommunity.com/ideas/FRG-I-293

    https://ideas.frogcommunity.com/ideas/FRG-I-127 Can be done as part of markbook + groups and policies permissions

    https://ideas.frogcommunity.com/ideas/FRG-I-291

    https://ideas.frogcommunity.com/ideas/FRG-I-133 Can do this with Markbook

    https://ideas.frogcommunity.com/ideas/FRG-I-1125 Can do this with Markbook

    https://ideas.frogcommunity.com/ideas/FRG-I-279 (can do this with text / hide descriptions/titles options in forms)

    https://ideas.frogcommunity.com/ideas/FRG-I-278

    https://ideas.frogcommunity.com/ideas/FRG-I-270

    https://ideas.frogcommunity.com/ideas/FRG-I-724

    https://ideas.frogcommunity.com/ideas/FRG-I-695 //PDF Viewer widget makes this not needed.

    https://ideas.frogcommunity.com/ideas/FRG-I-958

    https://ideas.frogcommunity.com/ideas/FRG-I-1196

    https://ideas.frogcommunity.com/ideas/FRG-I-1092

    https://ideas.frogcommunity.com/ideas/FRG-I-129 (markbook (assignment view)

    https://ideas.frogcommunity.com/ideas/FRG-I-1104 - Nested Pages.

    https://ideas.frogcommunity.com/ideas/FRG-I-763 - this is frogcode

    https://ideas.frogcommunity.com/ideas/FRG-I-292

    https://ideas.frogcommunity.com/ideas/FRG-I-290

    https://ideas.frogcommunity.com/ideas/FRG-I-468 (eportfolios)

    https://ideas.frogcommunity.com/ideas/FRG-I-898

     

    This list isn't exhaustive as I haven't had chance to go through everything yet, but there may be more to come :)

    • Thanks 1
  6. Without checking, I would assume that it would only be noticeboards / forums that the parent has access to,. I'll try and have a look later and confirm if that is the case.

    A bit of experimental testing may also yield the result :P

  7. 10 minutes ago, gbligh said:

    How do I update a current widget with a new version?

    If you have access to package manager, you can upload the new version and then press 'check for updates' from the cog menu. You should then see that the widget get's a little icon above it to show that an update is available. Select it and press 'update' and that should do it.

    That's from memory, pretty sure I didn't miss any steps :P

    • Thanks 1
  8. 2 minutes ago, Graham Quince said:

    Having said all the above - there's nothing on the cards around pre-filling form fields - I know it's a popular one.  @adamw - as you know more about forms than me - would pre-filled in fields (including dynamic info such as a site's title) be simple or incredibly hard?

    Probably somewhere in between those options. These would all have to be options that are added to the form widget, so we don't change the behaviour of existing forms. Also, adding options to filter data-viewer to the user who's eportfolio (or indeed any site that is shared to another user) is probably the hardest part. 

    I don't know a great deal about how an e-portfolio is assigned to the user from a data point of view, so we'd need to look into that.

  9. 6 minutes ago, pconkie said:

    Think this one might be a bug as it still marks them as late even if i give them a mark before the due date (with or without having "handed in"). We have got the kids in a really good habit of "handing in" work on frog.  So there is rarely a need for a teacher to press the hand in button for a student.  Despite this even when the tick symbol is displayed the app still adds the L symbol too when a mark is added.  This can't be right?!

    This does sound like a bug to me @Matt

    If you give them a mark (thereby handing in the work automatically) - then it should only give them a late mark, if the work was not previously handed in and it is now after the due date. I think anyway!

  10. This is complete guess, without testing. but try this as the first line in your 'done' function:

    thisResponse = Lib.Models.Resource.model(thisResponse.data);

    That may give you an array of resource models, which you can then do stuff with. You might have to amend the rest of your code to cope with the new structure, but it should be fairly easy to do. That's if it works! Like I said, I usually leave the front-end stuff to those who are cleverer than me :P

     

    • Thanks 1
  11. I think the resource needs to be a resource object - my front end knowledge in this dept is a bit weak, but I think the passed resource needs to be an instance of a:

    Lib.Models.Resource

    Hopefully that helps, let me know how you get on - as I may have to grab someone who knows that part of the system better than I if needed :P

  12. 1 hour ago, Graham Quince said:

    Sorry Paul - this is a bit beyond me.  I'll nudge @adamw

    @pconkie

    Sorry, I seem to have missed this. Assuming you have the resource object from an api call you can use something like this:

    this.trigger('os.app.preview', {
    	name: 'preview',
    	resource: myResource,
    	launchAboveModal: true,
    	mode: 'fullscreen'
    });

     

    • Like 1
×
×
  • Create New...