Jump to content

adamw

Former Frog Staff
  • Posts

    515
  • Joined

  • Last visited

Posts posted by adamw

  1. Your first example is the correct one - you pass the data you want to use into the view when you use it:

    this.element.find(".info").append(
      this.view('record.ejs', {
        user_data:user_data
      })
    );
    
    ////in the view use/////////
    <% user_data %>

    As for why this,app doesn't have all the data, I'm afraid I don't know! It's possibly to do with how the libraries we use optimise things, but that's a bit of a guess. One of our front end guru's in the office would probably know! However, internally we always pass the data into the view when we call it as in your example above, and so I would say that's best practice.

    • Thanks 1
  2. When I was developing this, my thinking was that non-completion was a 0 - because the work wasn't done. Marking as absent makes sense to then exclude this from the average mark calculation. My main concern was students being able to game the system, by artificially increasing their average mark by not handing in assignments they knew they wouldn't do well on. Perhaps this was over-cautious of me?

  3. On 17/05/2019 at 11:40, ADT said:

    Is one better than the other?

    I haven't done a side-by-side comparison of them, though I expect them to behave pretty much the same. The only difference is that the official Frog YouTube widget would be supported by our service desk, whereas the Frogcode one wouldn't be.

    • Haha 1
  4. BF2A56662001BEFAFD9A6FC69B54D70FBABFDFACE6555B10.tgz

    Hey guys, 

     

    If any of you are using the FrogCode version of the YouTube widget, you will need to update it to the latest version (see the attached file).

    This is due to a conflict with the new official frog YouTube widget. You may find that you have trouble using the new one, if you have the FrogCode version installed. I won't bore you with the technical details, but it is something to do with how they are referenced on a page - basically, the system can't tell it apart from the new one and so can behave oddly.

    Any questions or problems, comment below.

    Thanks.

  5. 18 minutes ago, ADT said:

    Hmmmm see they are all turned off....  now i would think i would have remembered turning them all off individually..........  or are they all turned off by default?

    Something in the back of my mind says that this is the case. Since there can be a vast number of Mark Schemes that come in from MIS, I think we disable them by default so you can enable only the ones you're using. 

    @Matt might have more info on that. His memory is better than mine :)

    • Thanks 1
  6. On 11/05/2019 at 14:25, pconkie said:

    Is there a way to filter by creation date when getting entries?

    
    FrogOS.fdp({
                    url: 'datastore/get',
                    path: '/api/fdp/2/',
                    type: 'GET',
                    data: {
                        target_uuid: myid,
                        created_on: {from: '1557579988', until: '1557589988'}
                    }

    Something like the above returns entries without error but only entries created on 1557579988 NOT between those two date-times. Similarly leaving out the 'until' portion altogether.

    Thanks

    Sure, try this:

    FrogOS.fdp({
                    url: 'datastore/get',
                    path: '/api/fdp/2/',
                    type: 'GET',
                    data: {
                        target_uuid: myid,
                        created_on_after: '1557579988',
                        created_on_before:'1557589988'
                    }

     

    You should also be able to use, created_on_after_inclusive and created_on_before_inclusive, which does as the name implies.

     

    • Thanks 1
  7. 59 minutes ago, gbligh said:

    The school will need to inform users, not you as Frog (in my opinion)

    When I used to work on support I took a surprising number of calls from parents when they or their children couldn't log into their schools platform. I think they just saw the Frog logo and Googled us whenever they had a problem. We just need to be sure that when we do something like this that we make the process as streamlined as possible for the end user.

     

    • Like 1
  8. Sorry, I was off last week enjoying the three days of sun we've been allocated this year :P

    At the moment I don't think we have any api's that expose the viewed information, but it I think it would be quite trivial to add one to the existing api's that get student assignment data. I suggest adding it to the idea portal then bugging @Matt to look at getting it put in.

    • Like 2
  9. 23 minutes ago, ADT said:

    Folder.....

     

    When you say site?  Ive added an external link to the dashboard!!  got the file from reference from frog dive...

    I'm having problems following this, not quite got it in my head what you're trying to do. Which dashboard have you put this link ok? Parents dashboard? School dashboard?

  10. 2 hours ago, ADT said:

    @Graham Quince @adamw

    Any idea of how we can get Conkies widget to work for parents...  this would help me cross off one of the reasons to keep using TASC Insight for parent data! 

    I've not had a lot of time to look into this widget, why doesn't it work for parents?

  11. 54 minutes ago, ADT said:

    @Graham Quince @adamw

    Any ideas on how to "PIMP" up Conkies widget to allow a link to a different site/page on that different site???  That would make this even more epic!!!

    Right, so I've had a look at the code and it seems that to open a site at a certain page you need to do this:

    [yourfrogurl]/app/os?site=[site_uuid]&page=[page_external_link]

    So, the external link for a page is basically the page name with the spaces replaced by dashes - for example: "page 1" will become "page-1"

    How you get this page external link easily I don't know, but you could try using the page picker widget preference type and seeing what that returns for you, for example:

     page: {
                    type: 'pagepicker',
                    label: 'label.page_url',
                    defaultValue: JSON.stringify({
                        page_uuid: '',
                        site_uuid: ''
                    })
                }
    

    and then using the page uuid that the pref gives you and then making a call to get the page object, which may have the external link name in it.

    Sites.Models.Pages.findOne({page_uuid: page.page_uuid}).done(function(data){
    	//do something with data here
    });

    No idea if that will work, but would be worth a try. If I get a spare moment (ahahahahahahaha) I'll have a look.

    • Thanks 1
  12. 3 hours ago, ADT said:

    Come on Quincy when you are ready........ :P 

    @Graham Quince

    He's away until Wednesday I think - If @pconkie is happy to let you guys have it, I'll have a look and see if I can export the widget. I'm not sure of the process that Graham usually uses, but I'm sure I'll figure it out :p

     

  13. 2 hours ago, deanmoulder said:

    Hi all, 

    I am sure this is possible, but I can't remember how to do this. I want to be able for teachers to point students towards quizzes in Frog and then complete them and the test score turn up as evidence in the progression chart? 

    I have added the quiz as a  'Test quiz' on the learning locker, then linked the quiz through a Computing Department site for the students to access and complete. 

    I currently have learning locker disabled for students and parents, as we do not have any resources uploaded. 

    Any help greatly appreciated! 

    @Graham Q ? ?

    I think the way to do this is to assign the quiz directly from progression charts itself:

    image.png

    Click on -> Test Quiz,

     

    image.png

    And I think that should do it for you :) - The test quiz will be the one that you set in curriculum designer against that learning objective. You can do the same for Practice, but I don't think that adds the score.

     

    • Thanks 1
  14. Odd that it seems to be affecting you, when I visit the link you provided it shows me the message once - I accept it then close the browser down. When I re-open and go back to that link, It doesn't ask me again. I'm also using Chrome. 

    Since your link is public, perhaps we can call on any others who may be reading this to see if they get the same issue when they visit that site?

  15. 43 minutes ago, pconkie said:

    Capture.PNG.8616cf982637b9699ba720f44b49dff0.PNG

     

    Every time I visit a public facing frog site I get the cookie notification popup to accept.  Steps to reproduce the issue:

    1. Close all browser windows

    2. Open a browser and go here: https://froglearn.backwellschool.net/pictureseries 

    3. Accept the cookie notification

    4. Close all browser windows (ignoring the prompt that your changes might not be saved! what changes?!)

    5. Repeat step 2.

    This is on chrome browser - I haven't tried other browsers.

    Ironically, accepting cookies will set a cookie, which is checked whenever you visit the site. Once you've accepted it once, that message should no longer appear. The fact that it does for you suggests that your browser is clearing the cookies when you close it down. Can you check your cookie settings in Chrome and see if that is the case?

     

  16. 20 hours ago, pconkie said:

    This one seems like an obvious avenue for frog to explore but......

    Be careful, it's a minefield! 

    Things that all schools do, but all do in a different way need to be highly configurable. I tried to make a frogcode app for our own particular way of doing parents evenings and quickly found that the api's you would need don't currently exist.  Of course being frog you could create them!

    Off the top of my head you would need to consider at least the following:

    • ability to set start and end times for evenings
      • these may be different for each evening
    • ability to open/close booking windows for parents
    • ability to choose how long a standard appointment is
      • this may be different for different year groups
      • this may be different for different subjects
    • ability to override the standard appointment length
      • this may mean longer/shorter appointments for some staff for some/all evenings
      • this may mean longer/shorter appointments for some parents for some/all evenings
    • ability to enforce a gap between parent appointments (travel time)
      • some schools might want to turn this off!
    • ability to give teachers "breaks"
      • could mean ability to give teachers the ability to give themselves breaks
      • some schools might want to turn this off!
    • ability to easily select parents who can book for a particular evening
      • e,g, all parents of year 7 students
      • e.g. all parents who are the primary contact of year 10 students
      • e.g. all parents of PP students
      • e.g. all parents of sixth formers
      • e..g all parents of students in bespoke group A
    • ability to open bookings early to a sub-set of parents initially
      • e.g. all parents of students who are a progress concern followed by all parents 4 days later
    • ability to handle multiple evenings simultaniously
      • not happening simultaneously (this would just be one larger event) but administration of
    • ability to handle availability
      • "turn off" certain subjects for some/all evenings
      • "turn off" certain classes for some/all evenings
      • override the class teacher with another member of staff
      • in the case of a shared class determine which teacher will be present or will it be both?
    • what should happen when a teacher has no more appointments left?
      • display a message?
      • have a waiting list?
      • give them the teachers email?
      • options for any of the above to be selected?
    • ability for parents to get confirmation email - summary of appointments
    • ability for school to email reminder message to those who "haven't booked yet"
    • ability for parents/teachers to cancel/amend
    • ability for parents to say they can not attend
    • ability for teachers to take a register or make some notes
    • ability for teachers to see a markbook view for the current appointment

    Others will be able to add to this list I am sure!

     

    Pffftttt, is that all? O.o

    • Haha 1
  17. What sort of information do you present at parents evenings? Markbook would be useful I suspect in some ways, to be able to see the subjects, average marks and target grades etc..

    Obviously if you have progress you can show progression charts for a user and create reports etc... Those people who have PEP can also show SIMS data and behaviour data etc.

    Is there anything obvious that Frog could be doing online instead of paper based? 

  18. On 12/03/2019 at 11:42, pconkie said:

    I added the following to my widget but no luck....

    
    'site.updated': function(el, ev, data) {
      console.log("saved?");
    },

    I'm trying to get the widget instance unique identifier  e.g  data-content-uuid="987E090D200280562B9EDF3ACFA5F00A665BA5DC8CC6ECD5"

    I can get this using

    
    this.options.content_uuid

    However, before the site is saved the data-content-uuid looks more like this: e.g  data-content-uuid="content_7643678655467".  This appears to be temporary as when the site is saved it is replaced with one like above that never again changes.  I need the permanent one. So i have a message that is displayed after a new widget instance is dragged onto a site that says "please save the site to activate this widget".  Following a save the dom is updated with the permanent uuid and then i want to do stuff with it.  

    Can i 'listen' for a particular attribute change if the widget can not hear the site saved event?

    I think I see what you're saying and there could be a way around this in your case. You can test to see if a widget has been saved by looking at the data-content-uuid and seeing if it is a valid Frog UUID. For example:

    Frog.Utilities.Validate.uuid("987E090D200280562B9EDF3ACFA5F00A665BA5DC8CC6ECD5")

    Will return true, whereas 

    Frog.Utilities.Validate.uuid("content_7643678655467")

    Will return either false or undefined.

    If it has a valid UUID then the widget has been saved, else it hasn't and you can display your 'please save this widget' message.

    • Thanks 1
×
×
  • Create New...