Jump to content

adamw

Former Frog Staff
  • Posts

    515
  • Joined

  • Last visited

Posts posted by adamw

  1. 8 hours ago, AlanJCraven said:

    Hi Adam,

    I have been playing with the code and I think the date format at line 24 is in the US format i.e. mm-dd-yyyy as I was getting a few more records than I expected. I have changed it to the following

     

       var date_string = "09-01-" + year;
        sept = moment(date_string).valueOf();

    This seems to work fine.

    Thanks for your efforts.

    Alan

    Glad it's working for you :)

     

     

  2. 5 hours ago, AlanJCraven said:

    We are fairly new to Froglearn and are currently building our parent portal. I would like to use the date selection widget along with the MIS linked documents widget but I would like to prefill the date selection widget so that the default is to display all linked documents for this academic year. Is this possible? Has anyone tried this before?

    Any suggestions gratefully accepted.

    Thanks

    Alan

     

    Hey Alan,

     

    I put together a little snippit of code that might do what you want. You'd need to add this to a HTML widget and put it on the same page as your Linked Documents widget. It won't change the dates on the select date widget, but it will broadcast a new set of dates to the system, which the linked documents widget should pick up on and act upon.

    I've not had time to test it, so (disclaimer) it may not work at all!

    <script type="text/javascript">
        setTimeout(function(){
        var prefs = {
                'associations': {
                    'type': 'associations',
                    'label': 'Widget Collections',
                    'value': JSON.stringify({
                        'associations': [],
                        'publisher': true,
                        'subscriber': false
                    })
                }
            },
            sept,
            end = moment().valueOf();
        
        var year = moment().format("Y");
        var month = moment().format("M");
        
        if (month < 9) {
            year -= 1;
        }
        
        var date_string = "01-09-" + year;
        sept = moment(date_string).valueOf();
    
        var controller = new Frog.Widget.Controller($.find(".widget_html"), {}, {prefs: prefs});
            controller.broadcast('selectedInterval', new Broadcast.Models.Interval({
                        startTime: sept,
                        endTime: end
                    }));
        }, 1000);
    
    </script>

     

    If you don't have the HTML widget on your Frog platform then speak to the service desk and they can enable it for you. If you have any problems let either me or @Graham Quince know.

    Hopefully it'll just work though :)

     

    • Thanks 1
  3. Could you get a small tick image and paste / or upload it as an image in the table widget?

    Also, you could copy and paste the tick icon from here - these are in the font as a character somewhere, but I have been unable to find the correct character codes to get these to show. If you copy and paste them from here into frog they should work :P

    ✓ ✔ ☑ ✅ ✕ ✖ ✗ ✘

    There are some more here as well if you need them:

    http://www.fileformat.info/info/unicode/char/search.htm?q=check&preview=entity

    Hope this helps!

     

    • Thanks 1
  4. 4 hours ago, nward said:

    Good Morning

    I am playing round with the new form widget, is there a guide to the changes anywhere? Im trying to figure out the two step submisison. Also, am loving the date picker but why is it not possible to choose a date that has been and gone? I was hoping HR could use it for sick leave but that is filled out retrospectively so the date picker wont be of any use. 

    Many thanks 

    The not being able to pick a past date in the date-picker is a bug, one that has been fixed and should be coming with the next patch (I'll have to check that). I'm not sure if @Graham Quince has any video guides on the form improvements?

    • Like 1
  5. 20 hours ago, Aimée13 said:

    Any way to have a notice board that can be names and show across various pages without having to create it on a site of it's own and embed that site.  Seems a waste of a whole individual site if it can be done another way.

    The updates so far look great! Thanks

    Hey Aimee13, I'm not sure I fully understand what you mean, can you give an example? 

  6. 38 minutes ago, ADT said:

    @adamw @Graham Quince

    Ok so Galileo has landed... and we can now format forms!!  Yahoo.....  we can turn a paper based form into a similar looking electronic form...  (like I have done in Frog3!!!

    Is there any plans to be able to auto fill questions...  like automatically pick todays date...  add the persons name who's logged in... address etc (update parent details)!!!  I supposed I'm on about Frog Tags in Frog 3!!

    What about having an email sent to the person who's filled in the form so they have a record???  Like in Frog 3!!

    We need the results to be able to be edited and log the user and data and time of the person who changed it!!  Again like Frog 3!!

    Have you had chance to talk to Qunicy???

    I know there is a second drop of Form improvements...  so just highlighting a few bits now!! :P

    Some of what you've mentioned is stuff we want to get into drop 2, such as editing rows (which does show you who edited it and the time) - auto filling in data is a good idea and I'll pass it along and I'll check about the email stuff :)

    • Thanks 1
  7. 34 minutes ago, smackie2 said:

    Hi Graham - when you say 'editable entries' is that like in Frog 3 when the user can edit what they've submitted?

    Thanks,

    Susanna

    I believe that's the idea. You would be able to directly edit (if you had the correct permissions) the data in the data-viewer app, or the new data-viewer widget. We're still working out the details on how that would work.

     

    In fact, you guys will have an opinion on this: 

    Is it worth you being able to edit a row once it's submitted, or would being able to delete a row that was incorrect be of more use?  The reason I ask, is that obviously editing a row is far harder to do - but you also have the problem that if someone edits it - do you want to know what the edited? What they changed? When? Do you want a history of who changed what?  Otherwise - how can you trust that the data you're looking at was entered by the person who's name is next to it?

    How often could you see yourselves editing a row - rather than just deleting it and telling the person they need to re-submit?  I can imagine that for massive forms, it may be more of a problem.

  8. On 2/5/2018 at 15:51, Pete Foulkes said:

    Only issue we have is that we have a noticeboard on our parent dashboard and we also have forms for them to fill in. I believe the forms require contribute permission to complete, but giving them contribute permissions would also mean they can make changes to the noticeboard when we only want them to view the posts.So it would either be no forms on the site or having to embed a notices page, which I've been trying to do but i'm having some difficulty getting it to display properly.

    I've addressed this. There's a preference on the widget now (that defaults to on - which mirrors the current behaviour). When the lock-board preference is enabled, only anyone with edit and manage rights can add to the board. When off, anyone with contribute rights can. So this should get around your problem, You can add it to the page, and make sure that preference is set - so even if parents have contribute rights, they won't be able to add notices.

  9. Okay guys and gals, here's how the notice board is currently looking. I've introduced a bunch of new features and it's been given the once over (style-wise) by our UX guru - having said that, all this is still not finalized, so things may change / look different in the final version.

    notice table detail.PNG

    We've kept the style looking pretty much how it did before, just tidied it up. As you can see, you can now add rich text / images / files / link to pages etc into a noticeboard. This is the view with detail enabled. You can also just show them as a list.

    notice table.PNG

    Notice the refresh button! You can now refresh a board by pressing that, instead of refreshing the whole site.

    Adding a notice has has a little UI love:

    New Entry.PNG

    Also, expired and pending notices will now show like this:

    pending and expired.PNG

    Note that site admins, and the notice creators are the only ones who can see notices in this state. They don't show for anyone else.

    Also, in edit mode you can delete all expired notices:

    notice in edit mode.PNG

    Finally, we've added more widget preferences:

    notice prefs.PNG

     

    And that's it for now!

    notice_detail.PNG

    • Like 3
  10. 6 hours ago, gbligh said:

    Hi all,

    Just wondered if anyone would support this idea for a widget? We would like to display parents contact details from SIMS e.g. email address, telephone number etc onto a page so they can check what their details currently are. Then we would like a section underneath (possibly a Form) that asks them if they are correct or not. If they are not correct, they can update which fields are wrong which then gets emailed to relevant person.

    Thoughts? Also ... anyone fancy a go at it? :D 

    Seems like a fairly easy (famous last words) widget to put together :D

    • Haha 1
  11. 1 minute ago, Pete Foulkes said:

    Only issue we have is that we have a noticeboard on our parent dashboard and we also have forms for them to fill in. I believe the forms require contribute permission to complete, but giving them contribute permissions would also mean they can make changes to the noticeboard when we only want them to view the posts.So it would either be no forms on the site or having to embed a notices page, which I've been trying to do but i'm having some difficulty getting it to display properly.

    Thanks, I'll take that into consideration and see if I can come up with a solution.

×
×
  • Create New...