Forum archive 2000-2006

Šarūnas Burdulis - Customizing the root webpage of WW installation

Šarūnas Burdulis - Customizing the root webpage of WW installation

by Arnold Pizer -
Number of replies: 0
inactiveTopicCustomizing the root webpage of WW installation topic started 9/22/2004; 10:30:09 AM
last post 9/22/2004; 11:26:16 AM
userarūnas Burdulis - Customizing the root webpage of WW installation  blueArrow
9/22/2004; 10:30:09 AM (reads: 734, responses: 1)
Is there a way to customize the webpage, which is generated by the WW2 system when someone requests host.domain.edu/webwork (defined by $webwork_url variable it seems)?

It would be nice to have the ability to customize the page by adding e.g. static links and hiding some courses. Or changing the way the course links are named.

Thanks, Sarunas Burdulis Linux Sysadmin, Math@Dartmouth

<| Post or View Comments |>


userMichael Gage - Re: Customizing the root webpage of WW installation  blueArrow
9/22/2004; 11:26:16 AM (reads: 971, responses: 0)
At the moment, the answer is no, but there are work arounds.

host.domain.edu/webwork2/ Gets you the administration module for the site, which in turn puts up a default "admin home page" listing the courses and the course administration module. This is convenient for administration, but you probably don't want to use this for your "home page" for the site.

Instead put up a regular HTML webpage, which might be at

/web/htdocs/webwork/index.html

and would be called by http://host.domain.edu/webwork

The index.html page would have links such as

<a href="http://host.domain.edu/webwork2/courseA">courseA</a>

and so forth.

People who try to truncate the url to work their way back up to a top level may get slightly confused when they arrive at the administration page instead of the "main page", but most will find this works ok.

You can also do fancier things by fooling with the assignments in the apache server config file, but that's beyond the scope of what I can help you with.

We may eventually make the "admin home page" a bit smarter, but I'd like to see a consensus on what would be desirable behavior for this page, before we put too much work into it.

One easy modification would be have the initial WeBWorK in the bread crumb trail link to your "home page" url instead of to the "admin home page" url. I think this would only require that the url for your "Home page" be entered into global.conf.

One last thing, for those running their own site, if you look at the conf/templates/ur.templates file, you'll see a bunch of CSS code that can be modified to customize the look of the webwork pages. Unfortunately this doesn't include the changes you'd like to make to the "admin home page".

-- Mike

<| Post or View Comments |>