Re: Calendar for anonymous
I wanted to come back and say that I found a solution to this, but check to see if there is a better method to fix it, or a way to get this incorporated into the codebase so I don't have to update this when I update to the next version.
The problem again; I add a "upcoming events" to my sidebar. It's great; anon users can see what's coming up in the near future. BUT .. if they click on an event, they get a permissions problem because it tries to go "edit" the event. You can see this for the next few days on http://lutheranWiktionary.org
.. scroll down and click on "Blue Ribbon Task Force" in the upcoming events section.
It seems pretty clear to me that if the user does not have access to edit the calendar, he should NOT be routed to "tiki-calendar_edit_item.php!
What I did was in file /template/modules/mod-upcoming-events.tpl .. I modified
tiki-calendar_edit_item.php?viewcalitemId={$modUpcomingEventsix.calitemId}
to:
tiki-calendar.php?viewlist=list&todate={$modUpcomingEventsix.start}
You can see the operation with this change on:
scroll down and click on
Evangelism, Outreach
Norm Fisher