Is there a possibility to have more than one custom layout in fullcalendar? Now there is only default.php and if I use this layout in for example 2 different menus I have to add if/else which making code much less readable. If there is tell me where in code I can modify it to have layout1.php and layout2.php for different menus?
To be able to use different layout, you will need to:
- Make a copy of the file components/com_eventbooking/view/fullcalendar/tmpl/default.xml, name it to something else (like default1.xml). Change title in that xml file so that it become Full Calendar 1 or something like that
- Then make a copy of components/com_eventbooking/themes/default/fullcalendar/default.php, change it to default1.php and add any code you want there
Now, when you create menu items, you should see two full calendar options to choose from
After you created the copied layout as mentioned, there should be a new menu option like Full Calendar 1 to choose from. If it is not available, maybe there is something wrong with the creation. You can submit a support ticket sending us super admin account of your site so that we can check and correct it