Hi,
I'm trying to get multiple calendar views on the same page working. An example would be a page with an event view in the main column and additional location and organizer info in the sidebar. This is how far I got: I found that all of the views used on a page have to be allowed in every instance of the plugin on this page -- otherwise, I'll just get an error about a find()-method call on a non-object.
So I then created three instances of the plugin, allowed all three views, but changed the order to have the first view in the list be the one I'd like displayed. The result: All three plugins display the default view from the first one. The same happens when I empty the allowed views on the flexform and specify them via typoscript. (My thinking: Maybe there should be a seperate typoscript parameter to force the default view instead of simply taking the first in the list?).
I found that multiple views on the same page should be possible since the introduction of the "allowed views" field in 0.13.0. However, I can't figure out how to do it. Any ideas?
God bless you all,
Toph.
I'm trying to get multiple calendar views on the same page working. An example would be a page with an event view in the main column and additional location and organizer info in the sidebar. This is how far I got: I found that all of the views used on a page have to be allowed in every instance of the plugin on this page -- otherwise, I'll just get an error about a find()-method call on a non-object.
So I then created three instances of the plugin, allowed all three views, but changed the order to have the first view in the list be the one I'd like displayed. The result: All three plugins display the default view from the first one. The same happens when I empty the allowed views on the flexform and specify them via typoscript. (My thinking: Maybe there should be a seperate typoscript parameter to force the default view instead of simply taking the first in the list?).
I found that multiple views on the same page should be possible since the introduction of the "allowed views" field in 0.13.0. However, I can't figure out how to do it. Any ideas?
God bless you all,
Toph.



Author: