Jump to content

pconkie

Frog Community Genius
  • Posts

    598
  • Joined

  • Last visited

Everything posted by pconkie

  1. Looking for best practice advice. If i create a new application and create some additional object and array variables like this: Com.Frog.Utils.require( '//package/applications/C0295B45200484DAA47C7F2BECF1800B961701CC47C32B14/assets/styles/main.css', '//package/applications/C0295B45200484DAA47C7F2BECF1800B961701CC47C32B14/assets/views/record.ejs', '//package/applications/C0295B45200484DAA47C7F2BECF1800B961701CC47C32B14/assets/views/main.ejs' ).then(function() { Com.Frog.Controllers.Application.extend('C0295B45200484DAA47C7F2BECF1800B961701CC47C32B14.Controllers.Core', { defaults: {} }, { packageID: 'C0295B45200484DAA47C7F2BECF1800B961701CC47C32B14', user_data: {}, sanction_data: {}, sorted_data: [], search_data: {subject:'all',year:'all',house:'all',reg:'all'}, acyear: {}, xhr: {readyState: 4}, init: function() { }, etc.. Why can i only access some of them from a view when calling this.app? How come user_data, sanction_data and sorted_data made it, but xhr, acyear and search_data didn't? How reliable is it that (say for example) my user_data object is available from the view by calling this.app.user_data? Or do I really need to supply it to the view explicitly when loading the view from production.js? To summarise, I seem to have two choices to access the user_data object from the view:: this.element.find(".info").append( this.view('record.ejs', { user_data:user_data }) ); ////in the view use///////// <% user_data %> or this.element.find(".info-panel").append( this.view('record.ejs'); ); /////in the view use///// <% this.app.user_data %> Is one more efficient? Why can't i take the second approach with e.g. search_data? I take it that it is better to work with views? As opposed to doing everything in the production.js file? Thanks Paul
  2. Do the options (border, background, title, padding etc) only appear when you select custom? Have you considered showing these for the pre-determined styles too (so those styles can be tinkered with?) This way you wouldn’t need ‘custom’ as an option at all.
  3. pconkie

    Why?

    Why does the FrogCode App take so long to load? 7-12 minutes?!! This has been the case consistently over the last few months regardless of: which computer I use whether I am at school or home (different networks / internet providers) time of day At least you can fast forward to the end of the video! 2019-05-29 10-30-29.mp4
  4. Maybe I’ve missed something, but can I offer an option C? If there is a mark (including zero) count it in the average. If there is no mark (-) don’t. Absent should definitely not count as zero. But if kid retrospectively does it, I’d like to leave the absent flag but enter a mark and have it count in the average.
  5. pconkie

    Frog Avatars

    Came across this old post again today: It includes avatars like this : and like this : and about 14 others that have no link. Are these images from frog or by the post owner ( @Phil Stiles )? If they are available to download from frog, could somebody send me the link... Thanks
  6. pconkie

    Datastore

    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
  7. For the student that has been chosen from a "select user" widget - display a list of assignments and include the status of each assignment (not viewed / viewed but not handed in / handed in late / handed in on time etc).
  8. Is the My Child Work app being withdrawn or not? If so, will there be/is there a version of markbook for parents?
  9. pconkie

    Markbook

    @Matt @adamw With the (relatively) new Markbook app comes the fantastic feature of being able to see if a student has even bothered to open/read an assignment. I'd like frog to flag up for me all students who are (typically) not opening/reading assignments. Does the markbook expose an api which when provided with a student uuid (and maybe a date range too) returns a list of all assignments for that student including the flags for viewed/not viewed/completed-on time/completed-late/absent etc. A bit like what Assignment Monitor does when you search for a user, but with the new Markbook flags. This could be really powerful. Thanks
  10. I've done some extensive changes to the mobile menu, but this doesn't appear to be the cause of the issue when uploading to finished theme files.
  11. Here is the demo for both orientations on mobile: 15026EA6-76DF-48C9-92EA-B038082F73C7.MOV
  12. Here is the test site: https://froglearn.backwellschool.net/sw It has the boiler plate theme applied with all the custom css on the home page as per your tutorial. It works and looks as expected. Here is the demo on desktop: 2019-04-09 15-04-44.mp4
  13. I’d write a strongly worded letter to Capita if I were you! Clearly there is a way for companies to pay money to capita and use an api to get this information out of Sims cleanly. Schools have to spen hours reformatting....
  14. I’ve got a site (site A) set to presentation mode. On another site (site B) I want to use the embed page widget to embed a single page from site A. The page picker used to select the page from site A from within the embed page widget on site B doesn’t work. It renders site A in presentation mode within the page picker. Using the forward and back buttons closes the page picker rather than changing pages. I had to go to site A and change from presentation to site mode. Save and close. Go to site B, back onto the embed page widget to correctly select the page. Save and close. Then finally back into site A to switch back to presentation mode. Save and close. Please could the page picker widget preference ignore presentation mode! Thanks
  15. Great! Looking forward to closing all those assignments now...
  16. No matter what i try I get this oops message when attempting to close and assignment.
  17. Make sure you have the latest version of the widget as I made some changes for George to fix the "more than one page" problem. As for the other issue, your format must have changed since your mock exams!!! Why would that be? I take it you used the *special* version of the macro i sent you? Don't suppose the original version of the macro now works for you?!
  18. I know everyone is busy, but did anyone get to the bottom of this @Graham Quince?
  19. pconkie

    Curriculum Designer

    No, didn't work!
  20. I was going to add support for folders, but haven't yet. It's called multi-file upload widget Graham.
  21. I don't think you can do that! Well clearly it hasn't worked, but.... if you add the folder on a blank site and use the site link or the site widget to put in on the dashboard then it should work. Alternatively I have a widget that works just like the good old web files brick in frog3 - upload whatever straight into it and whoever the site is shared with can view // contribute can add etc
  22. When you say shared it - I assume you mean the folder is shared with parents. Is the site also shared with parents?
  23. How do I turn off particular Key stages?
  24. It uses the same code as the ‘menu’ frog code widget. Do you have this one downloaded? Just wondering if you added this to that page - do you get the same delay? Second thought is perhaps it’s something about the new crystal theme - try changing theme for a minute and see if the delay persists. I’ll look at the code again tomorrow to see if anything else comes to light
×
×
  • Create New...