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
The 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 with an iFrame:
NOTE: You must have the same domain for the website and Submitty
(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 for each course changing the
config.ini file for a particular
course and adding a new field to the
[hidden_details] section with
course_url. This will override the
base_url that is set in
The top of the
config.ini file would then look something like this:
This URL must still be fully interchangeable with the regular base url
master.ini to ensure that Submitty still works as expected.