Jump to content

Phil Stiles

Members
  • Content Count

    7
  • Joined

  • Last visited

Community Reputation

5

About Phil Stiles

  • Rank
    Tadpole

Personal Information

  • School
    The Abbey School

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Just checked its already on the Ideas Portal https://ideas.frogcommunity.com/ideas/FRG-I-1372
  2. We have a form setup with a user picker for registering students attending our school wide breakfast club, The staff running the club are asking if there is a way to automatically reset the form when you click submit. Currently they have to click submit and then reset to then add another student to the form.
  3. Hi, as some of you may be aware Frog Drive can open ePub ebooks which is great, What I would like to do is to link to an ebook in FrogDrive by linking it to an image in a text widget, I have tried using the link to file option and file link widget but both want to download the file not open it in the ebook reader built into Frog. Does anyone have any suggestions Many thanks in advance Phil
  4. Hi @ADT So this is still a work in progress. main.css [data-name="Widget.TopFrogPoints"].widget-content { background: none; text-align: center; width: 100%; margin: 0; } .edit [data-name="Widget.TopFrogPoints"].widget-content { border: 1px solid #ccc; border-radius: 6px; } [data-name="Widget.TopFrogPoints"].widget-content img { margin-bottom: 5px; -webkit-border-radius: 10px; border-radius: 10px; } [data-name="Widget.TopFrogPoints"].widget-content .view { width: 200px; margin: 0 0 15px; overflow: hidden; padding:10px 10px 0px 10px; -webkit-border
  5. Many thanks, @adamw and @pconkie. All is now working as expected below is the end result. Out of curiosity what is the correct way to point to the image files that I have uploaded to the assets folder currently have the widget pointing to the full URL of the image? <img src="https://vle.abbey.kent.sch.uk/app/file/resource/41CAA2D520030AC47386EF22BF76740FF54BB32C69E11787?1539856225"/> kind regards Phil
  6. HI @adamw and @pconkie many thanks for your input, I have taken a look with a fresh set of eyes and using the below code I can get the Positive Behaviour Points out of Frog using the getBehaviourTotals API. I can verify the results in the browser console and see that the variable hp also shows the correct number of points. <script> // Setup Variables var user, hp; // Use Frog's API to get the logged in student user = FrogOS.getUser(); // Use Frog's API to Get Behaviour Totals Frog.Model .api('behaviour.getBehaviourTotals', { student_uuid: user.uuid, }).done(function(g
  7. Hi, I am trying to create a widget that is able to pull the Total Positive Behaviour Points into a variable, the end result is we will use an if statement to display a specific image depending on a number of points the student has. I have started by testing with the HTML widget. using the below code to see if I can use the behaviour.getBehaviourTotals API to get the total points this year for the user, however, it is not working. <script> var $ap,user; //Create a div, and give it a unique ID $ap = $("div", { id: Frog.Utilities.generateSimpleID() } ); $ap.html( '
×
×
  • Create New...