Full calendar opens only details view

troester

Administrator
Staff member
If I set the full calendar options "Show full details" = yes it's doing exactly what it is saying: the popup is showing the event in details view.

Even if the user has edit access and the event's hover link is showing "...view=form..."
Is this intentional?

I would expect to see the form if the user has edit access (like in list's "Link to details")

With "Show full details"=no the little popup is showing the edit icon and then it's opening the form view.
 
Is this intentional?

Well, it's the way it works. So yes. :)

If "Show full details" is enabled, clocking the event runs the viewEntry() method, same as if "Show full details" wasn't set, and you clicked on the view button rather than the edit button.

I guess it would be possible to modify that behavior, so it does what you are asking.

-- hugh
 
It's different from the old calendar viz behaviour.
And I think if the user has edit access there should be the possibility (just an other option?;)) to open the form directly.

A "nice to have"...
 
Are you sure the behavior is different? I based the new behavior on the old, which did this ...

If "show full details", set data-task to viewCalEvent ...

https://github.com/Fabrik/fabrik/blob/master/plugins/fabrik_visualization/calendar/calendar.js#L185

And an event handler for data-task=viewCalEvent that calls vewEntry() ...

https://github.com/Fabrik/fabrik/blob/master/plugins/fabrik_visualization/calendar/calendar.js#L1383

Next time I'm working on fullcalendar, I'll change the existing yes/no for that option to yes/no/edit (or somesuch) so the existing behavior is maintained, but we add the option to open form view if they have access.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top