JavaScript

Style public pages with CSS and JavaScript

Friday, Dec 7, 2018 by Scott Spence CSS, JavaScript, Public Pages

To override the core cascading style sheet (css) and javascript files on CourseSales.com public pages, trainer portal and student portal you can include the following when linking to those pages: &css=XXX.css then ask for the css to be uploaded (by a CourseSales.com staff member) to use. Which files to edit After editing the required files, send them to CourseSales.com staff for upload. Before customisation For the css there is either one file to use or two files that needs to be combined to introduce customisations.

Continue Reading

Adding Functions for Assessments

Tuesday, Sep 4, 2018 by Scott Spence Assessment, JavaScript, Form

Confirmation before submitting assessments When you only give a limited number of attempts to a student each submission is valuable, to ensure that students are aware that they are submitting the form and therefore will use up one of these attempts it it worthwhile giving them notification of this. Use this code to do so. $(document).ready(function() { // Confirmation alert before submitting assessment forms $("input[name='btnSubmit']").click(function(e) { e.preventDefault(); var wrnMsg= $('#formScoreMessage').text(); var alertStr= 'Please confirm you want to SUBMIT your homework for marking by Clever Training.

Continue Reading

Customising your public pages with Javascript

Saturday, Jun 23, 2018 by Scott Spence Developer, Public Pages, JavaScript

The JavaScript code CourseSales.com staff use by default for the public pages is below. You can just copy and paste this into your own, making modifications where necessary. In fact you might be able to download your copy by visiting https://{shortname}.coursesales.com/co/{shortname}/{shortname}.js If this is the case then perhaps a file has been created for your already and it might have some customizations that you rely on! Don’t just overwrite it - be sure to take a backup.

Continue Reading

Customising your CourseSales.com administration portal with JavaScript

Friday, Jun 22, 2018 by Scott Spence Developer, Administration Portal, JavaScript

The JavaScript code CourseSales.com staff use by default for the administration portal is below. You can just copy and paste this into your own, making modifications where necessary. In fact you might be able to download your copy by visiting https://{shortname}.coursesales.com/co/{shortname}/csadmin.js If this is the case then perhaps a file has been created for your already and it might have some customizations that you rely on! Don’t just overwrite it - be sure to take a backup.

Continue Reading

Creating a 'search filter' menu for your courses

Wednesday, Oct 12, 2016 by Scott Spence Public Course List, Search, CSS, JavaScript

When displaying your courses you may wish to include a search menu. Searching courses from within CourseSales.com means that you can ensure students get to see the courses that are most relevant to them. The following is a simple way to enable searches by Location and Course Category. It involves creating an HTML page and script with your current locations and categories and displaying this at the top of the list of results.

Continue Reading

Would you like to know more?

We'd love to walk you through CourseSales.com, free, no obligation, no hassle

Contact us Licensing Sign-up