I want to show a little list of upcoming events on my site. This list should be visible and filled for every user visiting my site. That's not possible if users have to log in first. I think that's no function that requires authentication.
By the way, when will you release the next version?
This issue has been resolved in the the upcoming smarter, better uCalendar. It's just around the corner. I've had more time recently to work out the issues and streamline the code.
Razor API method getCalendars() returns empty list
Hi, I want to use the API method getCalendars() to render a list of events from all calendars.
It only returns an empty list because, as I have discovered with reflection, a user has to be authenticated in back-office to get any data.
Why is an authentication needed? The other API methods don't need this.
Umbraco: 4.7.1
ASP: 4.0
Windows: Server 2008 R2
IIS: 7.5
A licensed version should allow this.
I'm using a licensed version. At least on localhost the license should be irrelevant.
At the top of the Method GetCalendars() there are the following lines of Code:
if (!UserHelper.IsAuthenticatedUser)
{
return new List<uCalendar>();
}
This has nothing to do with a license, the code checks the authentication with the umbraco member system.
You must be logged in to get all the calendars.
OK, but why?
I want to show a little list of upcoming events on my site. This list should be visible and filled for every user visiting my site. That's not possible if users have to log in first. I think that's no function that requires authentication.
By the way, when will you release the next version?
This issue has been resolved in the the upcoming smarter, better uCalendar. It's just around the corner. I've had more time recently to work out the issues and streamline the code.
It has a better API which allow what you need.
is working on a reply...