Per Course Custom CSS
To modify the CSS for your course, simply create a file named
override.css file in the
config directory for your course.
In this file you can change the background colors, fonts, etc.
Make sure that the
hwphp user has read access to this file.
Embedding Submitty within an IFrame
Sometimes, an instructor might wish to use Submitty as part of their course website without having students need to go to a separate Submitty url for submissions. This can be achieved easily through the use of an iFrame:
As stated above this does require that you are on the same domain as Submitty to be able to do this (otherwise it’s cross-scripting and that’s not allowed for security reasons on all major browsers). You can change the url that Submitty uses on a course by course basis by changing the
config.ini file for a particular course and adding a new field to the
[hidden_details] section with the key
course_url. This will override the
base_url that is set in the
The top of the
config.ini file would then look something like this:
[hidden_details] database_name=SOME_DATABASE_NAME course_url=SOME_ALTERNATE_URL
Of course, this URL must still be fully interchangeable with the regular base url from
master.ini to ensure that Submitty still works as expected.