Jump to content

SimonHooker

Members
  • Posts

    74
  • Joined

  • Last visited

Everything posted by SimonHooker

  1. Most likely this isn't an option for you, but if you have access to the underlying SIMS database you will find student photos within the "sims_photo" table. They are fairly easily extracted there, joining across to sims_person. They are stored as base64-encoded binary data, so pretty easily converted back into actual files. Have had to do similar within NodeJS.
  2. We have used various CMSs and languages in the past for school sites, however the current favourite system seems to be Wordpress - if you spend some time on it you can make it do pretty much anything you want it to but with the benefit of a well supported base system. Also has some nice plugins - for example Calendarize it! if you want to have a nice calendar ( http://calendarize.it/ )
  3. If you must do it inline, please at least use a CSS inline style. As of HTML 5, bgcolor is no longer supported. I doubt browser support is likely to disappear any time this century, but still CSS is the way to go for this. January
  4. How is your newsticker being initialised? If it is using older javascript, it may be hooking into something that bootstrap/jquery overwrites.
  5. Carousel does exist in 2.x though, and works the same way ( https://jsfiddle.net/ghup9z5z/10/ - example updated to 2.3.2 ) Maybe the JS isn't loading correctly, or isn't somehow loaded before page load hence not being there for the document ready call.
  6. I used your code and put it into a JSFiddle, and it seems to work as intended. Have had to comment out the images, and have cleaned the JS a little, but you can see it operational here: https://jsfiddle.net/ghup9z5z/2/ Have you got the correct Bootstrap + jQuery libraries included? The fact .carousel is not defined indicates you may be using a build of bootstrap that does not include the JS components. Hotlinking to the CDN as I did in that example is common practise and helps ensure they are cached as users go through other sites that also link to the CDN.
  7. The problem with ignoring them is that the original post explicitly stated My guess is this is used in some sort of templating system that relies on the comments being balanced. Most browsers are able to handle all kinds of broken HTML, they don't normally throw such a cog about unbalanced tags. Frameworks / templating systems tend to though. I use Ember a lot and if the tags are mismatched there the Handlebars parser throws all kinds of errors making it clear that you haven't matched your closing tags up correctly!
  8. I believe this is because you have but no matching tag. I did a quick search and found some random source code containing the tags, i.e. Development and Production - PAJ Systemteknik , and at the top of that you can see prior to the To that end the following might work - though I have to admit to being unfamiliar with this language and as such any other parameters InstanceBegin may require The Greneway Middle School - </pre><table width="100%" border="0" cellspacing="0" cellpadding="0"> Garden Walk, Royston, Herts. SG8 7JF Telephone: 01763 243650 (School Receptionists, Mrs N Bedford/Mrs N Johnson) Email: [email protected] Home About Us Calendar Curriculum Pupils Parents Staff Governors Gallery Community Statutory Information Follow us @GrenewaySchool @GrenewayPE @GrenewayITC @GrenewayARTS @GrenewayEnglish @GrenewayJourney @GrenewayYear5 @ScienceGreneway @dandtgreneway @Year6teachers @FriendsofGreneway page_content </table><br><b
  9. Just throwing this out there from point of view of someone that has integrated Progresso into a third-party product. I like that they have a fairly complete API. Unfortunately that same API can be very slow for some requests, and the documentation for the API is not always accurate and the precise methods you are looking for are not always where you might expect. Many methods get bundled into their "Miscellaneous" endpoint, for example. The speed concerns with the API are most likely why the frontend also appears slow at times.
  10. Hi there, At it's simplest, to join those up all you need is some INNER JOIN's. I would start by altering the data types in Studenar so that CandidateID, AdjustmentID, and SubjectID match their respective PKs, so all 3 should have a data type of INT(11) From there, this will just join the 4 tables up and get all data points SELECT sar.StudentADID, c.*, s.*, a.* FROM Studentar sar INNER JOIN Candidates c ON c.CandidateID = sar.CandidateID INNER JOIN Subjects s ON s.SubjectID = sar.SubjectID INNER JOIN Adjustments a ON a.AdjustmentID = sar.AdjustmentID From there you can limit, maybe add WHERE a.AdjustmentActive = 'y' ( or whatever that contians ) Let me know if there's anything else I can help with, I've spent a lot of time on StackOverflow helping people with MySQL queries From here, you'll need to fire that query off using PHP, and then loop over the rows rendering your HTML. Afraid I tend to deal more with Coldfusion/NodeJS nowadays though so can't really help too much there.
  11. We've gone through a few hosting companies over the years, sadly the one that was best got bought out by 6dg and the top notch customer service evaporated Nowadays we make use of a server on OVH that seems to do well along with database and additional instances on AWS as well as some attacking clusters on AWS All things considered I would ha e to recommend AWS, the cost isn't too bad especially if you make instance reservations, and their whole ecosystem has so many useful products! I know that my current project would take significantly more admin manpower if it wasnt for AWS
  12. Hi Ben, Very sorry but have been pretty busy with releases lately so haven't had a chance to look into this issue!
  13. Looks like I'm still on 49, will update and get back to you once I get a gap to look at this in, hopefully not too long. Sure hope Chrome 50 doesn't break the JS I've just been working on!
  14. Hi Ben Considering that I primarily use Chrome + so of course tested the above in Chrome originally, this is a bit concerning. If you could supply updated source code, what you actually have in your source that is, then I could give it another quick look in case there's something that's been missed somewhere along the line.
  15. Hi there, It's odd that it doesn't work on Firefox as that should use the same rendering engine as Chrome. It may be the li:first-of-type selector that it's not agreeing with. You could also try $menu .addClass(c) .find( 'li' ) .first() .find( 'a' ) .focus(); // After adding classes, give focus to the first anchor tag in the submenu Regarding handling users without Javascript enabled, that is more difficult. The only real fallback you can do in for that would involve tags to render static sub-menus out, which is not a graceful solution. Nowadays I make no concessions to users that don't have javascript enabled to be honest, as the fraction that fit that description is so negligible. Worth checking any accessibility requirements that you have though.
  16. Just looking at the html I can see a slight issue in that you have gone nav -> list item -> unordered list -> list item etc - but this might be due to copying out the html. Your example seems a little incomplete though. Taking your code, and the example at https://github.com/n33/jquery.dropotron, can come up with this though. The interesting event here is 'doExpand' because your main issue seems to be the fact that opening a menu with tab+enter does not then put the focus on the child list. So changing the list HTML to the following ( sorting out the structure + adding in tabindex to submenu ) Curriculum Art GCSE Media Studies Humanities & Social Sciences Information Information Home Admissions Behaviour For Learning And changing the line [color=#333333]$menu.addClass(c);[/color] to $opener.find( 'a' ).blur(); [color=#333333]// Take focus off the opening link [/color] $menu .addClass(c) .find( 'li:first-of-type a' ) .focus(); // After adding classes, give focus to the first anchor tag in the submenu This makes it so that after opening a submenu with tabs, further tabs happen first of all in that submenu. I've tried the above in Chrome and IE11. Full gist available here : https://gist.github.com/SimonHooker/c797a95d965cec891e4df72028b1da2b
  17. A little late to this thread, but if you're still looking I'd advise checking out https://www.codeschool.com/getting-started I've used it for some of the more advanced topics in the past, however the basic Javascript and HTML courses are very easy to get into and it leads you through the subjects very well.
  18. Hi there, I've not posted on here before, I work for a company called mso where we are developing a school portal product (I'm trying to give it a name but that's another story!) and the current MIS integration I'm working on is Progresso. I've hit numerous brick walls with their SOAP service however the current one seems to have me at a bit of an impasse. If I log in to the current clients Progresso UI I am able to drill down into a learner and then view their Assessment Details by year / subject / template. That is not a problem. However I need to be able to extract this information to be able to present it within our pretty responsive UI alongside all the other information for parents to view. Within the Assessment service documentation I have ( despite there being an incorrect web service URL ) there are a few methods that look like they would be useful but are missing ( listed below ) which is unfortunate because some of these feel like they would do what I am looking for. Assessments.GetSingleLearnerDetails Assessments.GetLearner Assessments.GetDataValuesByAssessment Assessments.GetDataValuesByAssessmentTypeOne Assessments.GetAssessmentScreens Assessments.GetAssessmentDataValues Assessments.GetAssessmentTemplateColumnByAssessmentTemplateColumnId I have used Assessments.GetLearnerAssessmentDetails for a specific LearnerID to get a list of AssessmentLearnerRecording records for users. This web service was pretty slow, taking around 20-25 seconds to return 17k so I suspect it's not the best one to be using. This returned a list of AssessmentLearnerRecording's. I was then able to use Miscellaneous.GetAssessmentLearnerResultValueByAssessmentLearnerRecordingID with an AssessmentLearnerRecordingID as entityId to retreive a set of AssessmentLearnerResultValue's but these nodes only seem to contain links to other more general places but no actual data. I have tried contacting Advanced Learning about Progresso by email and received no response. The client school has raised a support ticket. I have called them and managed to talk to someone but the only response I got from them summed up to "We have problems with the API" and "I'll chase up your ticket" which in turn solicited a response to the ticket which didn't answer the query! ( This was a week after the ticket was raised I should add ). Overall I'm not that impressed and am at a bit of a loss as to where to go from here as it certainly seems like information is not forthcoming from Advanced Learning. So, does anyone out there have any experience with the Progresso Soap API and are able to help me find where to get the data for learners reports? Any help would be greatly appreciated.
×
×
  • Create New...