Need Solution for Full Calendar with list of events and link to specific event page - html

I'm building my final project for my studies and I'm trying to make an event calendar that shows events in the calendar itself. I found a few solutions so I'm good with that part, I think.
Although, what I want to add is an option so that under my calendar there will be a list of all events for this month (it's a monthly calendar) and the list will match what's showing on the calendar itself.
When someone presses one of the events on the list it will take them to a specific page for the event, and there will be an option to have an open discussion about the event.
Is that possible?
Is it to complex for a beginner to do?
What are my options?

Related

Google Calendar - calendar visibility and groupings

When using Google Calendar in Chrome, there is a 'Display this only' option that will hide all my calendars apart from the selected calendar. I have a list of about 20 calendars so this feature is very useful.
The problem is that to re-enable the visibility of the other 19 calendars, I have to click on each calendar's checkbox (in the left sidebar), one at a time. This is not at all practical when needed a less complicated view for dealing with many events in each of the calendars.
Ideally, what I would like is to have the ability to turn on the visibility of all calendars with one click, but also to group calendars so that I can show and hide groups of calendars with one click. This would work really well with Room and Resource calendars.
I understand that users have been requesting that Calendar natively support these types of features for over 10 years now. From the lack of response on this issue from Google, it seems they don't think this is worth adding, which surprises me considering half of the feature is there with the 'Display this only' option.
So, does anyone know of a way to create visibility groups (or all calendars shown/hidden with a click) programmatically? Maybe with Google App Script? I would appreciate anything that could point me in the right direction.

How can a calendar refresh/reload after a event was changed?

I'm changing a event using the CalendarApp script, but it seems it appears on the Calendar UI only after a random time, ranging from seconds to minutes. Is there a way to force the event to be updated/refresh on the Calendar immediately after it was changed on the script?
I tried using several combinations of
cal.setHidden(true);
cal.setHidden(false);
cal.setSelected(false);
cal.setSelected(true);
CalendarApp.setHidden(true);
CalendarApp.setHidden(false);
CalendarApp.setSelected(false);
CalendarApp.setSelected(true);
but I still have inconcistent results. Any idea?
Thanks in advance.
The calendar service and the calendar Browser Ui are two separate things, they have no relationship except being linked to the same source (the calendar itself), there is no way for a script to interact with the calendar Ui... You can use the refresh button under "more" menu in the upper right corner of Calendar Ui but that is all you can do.

getting events/feeds in google calendar to show as a list

I am trying to make a list of all events in my calendar and show it in my project website. any idea on how to get/retrieve the events/feeds in my goggle calendar and show it as a list any tutorial on the matter is much appreciated. i been searching but i cant find any as far as i have researched all i see is this tutorial which i don't not understand at all.
all i want is to display the events/feeds of my calendar below the calendar itself so people doest have to look it up in the calendar
i want something like this but not in word press i want it on my own html
Been looking for it myself. Followed the goodle documentation for 2 days now and still don't get it.

UiApp cache vertical panel

Developing small app to record a set of 6 readings for monitoring purposes in 31 rooms. App will have two main views, one view to show list of buttons for each room where readings will be taken, a second view where the values will be entered for a particular room and then posted to a spreadsheet.
The process in mind here is click on button for a particular room, enter the data, return to button view to choose another room to enter the data for that room and then back to button view screen.
Since the button view will seldom change do I have any options for caching this view so that I do not have to run a function to rebuild it each time. I have this function
function createTGSRoomListButtons(sh, aData){}
That takes the list of rooms and builds a panel of buttons for selecting the different rooms.
The question that I have can the above function be run once to cobble together the UI, cached and the later simply be 'recalled'?
TO that some end the view where the data will be entered can this be partially cached so that with each rendering a reference to a specific room can be made.
New to Google Apps Script so not really sure how to properly determine my answer.
You can have multiple panels in an UI and play with visibility to show one or another... no need to cache any content since they remain unchanged in the process.
If I understood your use case well, the panel with specific room info would be modified according to spreadsheet data so in this case you won't need to cache values since they would be "reconstructed" each time. The trick to show/hide panel has been shown in this post with clientHandlersand multiple panels in a unique vertical panel to ensure that the visible panel is always at the right place.
A very simple way would be build the UI for the first time and then hide/unhide the buttons' panel each time using the setVisible() method of the panel

QWidget or just paintings?

I work on a Qt4 calendar custom widget and in month view (a grid of more or less 30 cells/days), in each day's cell, I want to draw events of the day like this:
start hour - title
start hour - title
start hour - title
(...)
So, just a vertical list of events, with HTML formatting.
I'd like to offer the possibility to move events betweens cells with drag'n'drop.
So, I don't know if I must create a QWidget for each cell with QLabels inside or if I can render html on those cells and manage drag'n'drop in a other way...
If you want to, you could manage drag and drop yourself by checking which item was clicked on when the drag started, and putting the appropriate data into the drag events. However, I think your first option sounds easier, at least until you come across other requirements that makes it not work.