I had the same concern over the admin course, and so one of the first things I did with WW2 was modify the home page.
It's not trivial, but it's not too hard (if you are comfortable writing
perl code). The home page is generated by
webwork2/lib/WeBWorK/ContentGenerator/Home.pm, and you can modify this
file to put out whatever text you want for your home page. In
particular, you can remove teh admin course, if nothing else.
For our site, I wanted only the current term's courses to be shown, and
to have past courses listed on a separate page. (We also have "library"
courses that are associated with the various problem libraries and have
all the problems available as separate homework sets to make it easier
for faculty to see if there is anything in them that they want. These
library courses are listed on a third, hidden page, but that's another
story).
We use a special naming convention that includes the year and term as
part of the course identifier, so the Home.pm file looks through the
courses and only shows the ones that match the current term. (The past
course page listest all the older term courses.) Anything that doesn't
match the current term is not shown, so you can have "hidden" courses
simply by naming them so that they don't have the year and term
information in them.
You can see our home page at http://omega.math.union.edu/ if you want to see what it looks like.
I actually didn't change Home.pm, but rather made a copy of it and
modified that (since I didn't want to confuse CVS with a file that was
so different from the official version; this makes it easier to update
WW without worrying about having to fix Home.pm again). But in order to
make the copy work as the home page, you need to edit the entry for the
home page in webwork2/lib/WeBWorK/URLPath.pm which controls what code
is tied to which URLs (this is very cool, and made it easy for me to
both modify the home page and add my own extra pages, like the past
course page and the library course page). Change the "display" field of
the "root" entry in the %pathTypes hash definition. (Yes, Sam, I
updated the information at the top of the file when I added the new
pages :-)
This is not something I'd recommend for the casual user, but if you are
comfortable programming in perl and dealing with the server error
files, then it certainly can be done.
Good luck!
Davide
<| Post or View Comments |>
|