gdoteof / election

drupal election module
3 stars 1 forks source link

Addition of a .skl extension to API cause a refresh in HTML Skeleton #16

Open acrawford opened 12 years ago

acrawford commented 12 years ago

I worked hard not to mess anything up with this additional code. It includes a few new functions, and splits off a different handling for results (HTML Skeleton) destined to be on the public results page.

To cause a refresh you must navigate to the https://www.example.org/e/town-meeting-season-2011/town-meeting-day-2011, and then enter the new URI as https://www.example.org/e/town-meeting-season-2011/town-meeting-day-2011.skl and reload. This launches the file cache refresh. I am assuming that I can't load the URI directly because the server doesn't know what to to with a .skl content type. Doing things this way is pretty horrible, but functional.

I have tried hard to break existing functionality in testing, and it looks good at this point.

acrawford commented 12 years ago

Consider this a feature addition, not a bug.