mediawiki-extensions / mw-calendar

Automatically exported from code.google.com/p/mw-calendar
0 stars 2 forks source link

Fragile Cookie #56

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. I create and save a Week calendar: <calendar week .../>
2. I can then view a week's calendar.
3. I select button to display the month view.
4. The month calendar is displayed.
5. I refresh the page.
6. The month calendar is still displayed.
7. Note: no Week button is shown for a month calendar.

Original issue reported on code.google.com by jmccl...@theolympicbuzz.info on 24 Feb 2009 at 8:22

GoogleCodeExporter commented 8 years ago
The week button for month view was removed as it didn't make sense to have a 
week
view in month mode. I forsee the week view being used in a small table or 
heading on
a main page and toggling to full view would distort the page.

Anyhow, in order to reactivate that button, add the following to 
"$this->tag_views"
around line 249.

<input class='btn' name='week' type='submit' value=\"$week\"/>

Original comment by kenyu73 on 24 Feb 2009 at 1:21

GoogleCodeExporter commented 8 years ago
A week button can make sense, at a minimum to return to an original week's 
display 
(after having switched it to month, for instance). Further, I think radio 
buttons 
would be appreceiated by users, over buttons that normally areused to initiate 
actions, because the week/month/annual view IS a view, not an action.

Thanks for the coding tip though -- I'll give it a try!

Original comment by jmccl...@theolympicbuzz.info on 24 Feb 2009 at 4:44

GoogleCodeExporter commented 8 years ago

Original comment by kenyu73 on 26 Feb 2009 at 1:47