Calendar patches to provide more logical menu/feature access
- Status
- Closed
- Subject
- Calendar patches to provide more logical menu/feature access
- Version
- 2.x
- Category
- Patch
- Consistency
- Feature
- Calendar
- Submitted by
- Geoff Brickell
- Lastmod by
- Geoff Brickell
- Rating
- Description
Sorry - these patches were committed quite a while ago - just forgot to close the item
-----------------------I have recently started to use the Calendar function in a new v2.2 site and I found a number of illogical/inconsistent functions that I changed by simply editing the .tpl files. I think some of these are sufficiently useful that I'm submitting them as patches - I'm not really set up to do the whole SVN/developer thing at present.
Here is a summary of the changes/adaptations
tiki-calendar.tpl - original source {* $Id: tiki-calendar.tpl 13045 2008-05-29 07:07:56Z chibaguy $ *}
- logic changed so that Config/Options button is ONLY shown if the user is the admin
- logic changed so that Add Event button is only shown if $displayedcals|@count >0
tiki-calendar_calmode.tpl - original source ?not shown?- explicit %d/%m used for day/month on each day 'cell' to show European style of date. This is just an interim patch to change the existing 'hard coded' version which shows %m/%d. It should be possible to change the logic to extract the right format from the General Admin time/date settings - am still looking at this
- logic changed for additional check to NOT show 'add event' in day cell icon if no calendar 'visible'
tiki-calendar_nav.tpl - original source ?not shown?- swap %B %e to %e %B in several lines in the "calnavigation" div - again to adopt a European style. Still looking to see how this can automatically extract the right info from the general Admin time/date settings
- Files
- Solution
- Revised .tpl files attached
- Importance
- 8
- Priority
- 40
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 2314
- Created
- Monday 16 February, 2009 17:44:47 UTC
by Unknown - LastModif
- Saturday 06 July, 2024 10:21:44 UTC