Famcy/_items_/event_calendar/event_calendar.py
def generate_template_content(cls, fblock_type=None):
        """
        This is the function that
        returns the template content 
        for the given fblock. 
        - Return a content dictionary
        """
        return {
            "language": "zh-TW",                                # ("zh-TW" / "en")
            "events": [
                        {
                            "title": 'Repeating Event',
                            "start": "Wed Jul 21 2021 08:00:00 GMT+0800",
                            "allDay": False,
                            "className": 'info'
                        },
                        {
                            "title": 'Meeting',
                            "start": "Wed Jul 21 2021 08:00:00 GMT+0800",
                            "allDay": False,
                            "className": 'important'
                        }
                    ]
        }

        This is the function that
        returns the template content 
        for the given fblock. 
        - Return a content dictionary
        
This is the function that
returns the template content
for the given fblock.
Return a content dictionary
This is the function that returns the template content for the given fblock . Return a content dictionary
def generate_template_content(cls, fblock_type=None):
        return {
            "language": "zh-TW",                                
            "events": [
                        {
                            "title": 'Repeating Event',
                            "start": "Wed Jul 21 2021 08:00:00 GMT+0800",
                            "allDay": False,
                            "className": 'info'
                        },
                        {
                            "title": 'Meeting',
                            "start": "Wed Jul 21 2021 08:00:00 GMT+0800",
                            "allDay": False,
                            "className": 'important'
                        }
                    ]
        }
def generate_template_content ( cls , fblock_type = None ) : return { "language" : "zh-TW" , "events" : [ { "title" : 'Repeating Event' , "start" : "Wed Jul 21 2021 08:00:00 GMT+0800" , "allDay" : False , "className" : 'info' } , { "title" : 'Meeting' , "start" : "Wed Jul 21 2021 08:00:00 GMT+0800" , "allDay" : False , "className" : 'important' } ] }
This is the function that
returns the template content
for the given fblock.
This is the function that returns the template content for the given fblock .
"""
        This is the function that
        returns the template content 
        for the given fblock. 
        - Return a content dictionary
        """ # ("zh-TW" / "en")
cls
fblock_type