@ziloub (Sylvain Ziloub) posted a new topic, subject "Customize / personalize "ADD A Jitsi Meeting" button for calendar". It read:

   Hi Jitsi Team,  
    After we successfuled to install the Calendar integration on our Jitsi Meet app, when we add a new event, we always have the button “ADD A Jitsi Meeting” on the GMail Calendar.  
    We would like to don't have it (as we are not using the “link” function for the calendar. We only need to show the events).  
    We tried to find where is that button, but no luck.
    
    Could you tell us where is the code to change, to don't have that button inserted on our Gmail Calendar ? (don't have that function of insert a Jitsi Meet link by default)
    
    Thanks for your help and support !

@damencho (Damian Minkov) replied

    This is the calendar integration part of jidesha, the chrome extension.

Then @ziloub (Sylvain Ziloub) said

    Thanks! Found it on Jidesha Master.  
    But how our users can use it? There is nothing to ask them to install that “calendar” extension for chrome. We only have the extension code for the sharing screen option, but not for calendar one. Or maybe i missed (again  ) something on my configuration?
    
    I already uploaded the extension for the sharing screen and it's working, but seems like calendar extension is another extension (right?) that need also to be uploaded on our extension chrome developper account, so with a new hash code that we don't know where to insert in our jitsi meet installation, in order to use it.
    
    On the documentation file (readme) there is only explanation for the sharing screen extension.

To which @damencho (Damian Minkov) replied

    But you have one extension installed for meet.jit.si deployment? That has the calendar part that is from jidesha, do you see the button if you disable that extension?

To which @ziloub (Sylvain Ziloub) replied

    I did my own application with the master git of Jitsi (last version) in opt/jitsi-meet.  
    npm install and make as usual.  
    But impossible to find the parameter for the calendar jidesha extension. I only have a parameter for the jidesha chrome / sharing screen extension.  
    So i always have the “Jitsi” blue button on my gmail agenda / calendar, and not the button I want to have (with custom name etc…).  
    Where I have to install the calendar extension ? If i install it on Chrome extenson, it gave me a new hash for the extension that i don't know where to set it on jitsi-meet.  
    Or do I have to have chrome AND calendar (from jidesha master, where there is 2 directory : chrome and calendar) on the same extension ? If yes, how we can upload both in same extension ?

After which, @ziloub (Sylvain Ziloub) added

    If i deactivates my jidesha screen sharing extension, i still have the same problem : blue button with ADD a Jitsi Meeting on my event.  
    So seems like we use the “jidesha calendar” extension of Jitsi Meet, but we don't know where to set our own extension in config / parameters.  
    Or maybe as I said before, we need to have “chrome” and “calendar” concatened in same extension for Chrome ?

To which @ziloub (Sylvain Ziloub) replied

    I only see these parameters in config :  
    chromeExtensionId: ‘kglhbbefdnlheedjiejgomgmfplipfeb', // Id of desktop streamer Chrome extension  
    //new desktop sharing settings  
    desktopSharingChromeExtId: ‘kglhbbefdnlheedjiejgomgmfplipfeb', // Id of desktop streamer Chrome extension
    
    Only about “screen sharing” but not “calendar” extension.  
    (this was takes from your Jitsi Meet app. We have our own extension hash for our jidesha extension)

So @damencho (Damian Minkov) replied

    If you have uploaded jidesha to google chrome store, you need to modify it to add the calendar integration.  
    Modify it as you like, then:
    [code] 
        cd jidesha
        cd calendar
        ./make.sh
        
    [/code]
    
    Go in target folder that was created and grab that, zip it and upload that one as an extension, the same way you already did. And when you install that extension from the store in your chrome you will have your button next to Add Jitsi Meeting button that comes from the extension you installed for meet.jit.si.  
    There is nothing to configure on your deployment for that calendar integration.

After which, @ziloub (Sylvain Ziloub) added

    Many thanks Damencho! Will try all of this and let you know   
    Thanks again for your great support

To which @ziloub (Sylvain Ziloub) replied

    Ok so I did it, and I have now my button.But the button of “Jitsi Meet” stay…  
    I would like to just have my button, and not “2 buttons” (people can use the both so this is not so good…).  
    How can I do to only have my button and not the Jitsi Meeting button?  
    I have my own Jitsi Meet application, made with make on my server. So I guess I can only use my extensions, and not the Jitsi Meet extension ?  
    Thanks for your help!

Then @ziloub (Sylvain Ziloub) said

    Oooh god… my mistakes!! I had the Jitsi Meeting extension on my Google Chrome… that's why, simply!  
    So now it is ALL OK!   
    Thank you again for your support! Topic is solved for me !

So @ziloub (Sylvain Ziloub) replied

    Oh, just a last question (as I did some tests) : we are in february. When I add an event in March, we don't see it on the event list on our application.  
    Seems like we only can see the “current month”. That's right ?  
    We will see then our “March” events when we will be on march?

So @damencho (Damian Minkov) replied

    Its most recent ones … Need to check the code to see the time frame…

So @ziloub (Sylvain Ziloub) replied

    Ok. Yes I think it only takes few days in the calendar.  
    Would like to have the full event list on the calendar part of the welcome page, to really see all the upcoming events.  
    Do you know where to change the code for the date limit, or delete the “limit” to just ask all events that we have on the calendar? (at least, for a year maybe, or minimum 6 months)

So @damencho (Damian Minkov) replied

    github.com
    
    #### jitsi/jitsi-meet/blob/7eda31315f18809db0f026474b1146e8604561af/react/features/calendar-sync/constants.js#L16
    [code]     
          6. * @enum {string}
        
        
          7. */
        
        
          8. export const CALENDAR_TYPE = {
        
        
          9.    GOOGLE: 'google',
        
        
          10.    MICROSOFT: 'microsoft'
        
        
          11. };
        
        
          12. 
        
        
        
          13. /**
        
        
          14. * The number of days to fetch.
        
        
          15. */
        
        
          16. export const FETCH_END_DAYS = 10;
        
        
          17. 
        
        
        
          18. /**
        
        
          19. * The number of days to go back when fetching.
        
        
          20. */
        
        
          21. export const FETCH_START_DAYS = -1;
        
        
          22. 
        
        
        
          23. /**
        
        
          24. * The max number of events to fetch from the calendar.
        
        
          25. */
        
        
          26. export const MAX_LIST_LENGTH = 10;
        
        
        
    [/code]

So @Phat_Le (Phat Le) replied

    image724×355 21.3 KB
    
      
    @damencho Hi, I have added jidesha in the chrome extension but when I click on Add a Jitsi Meeting the Jitsi URL fill in the location field. I try to edit new fields for Jitsi URL but I don't know how to do it. Can you help me? Thanks.

@damencho (Damian Minkov) replied

    What do you mean?

@Phat_Le (Phat Le) replied

    I want to after clicking the Add Jitsi Meeting the URL does not fill in the location fields.

After which, @damencho (Damian Minkov) added

    github.com
    
    #### jitsi/jidesha/blob/67381959863c36c70b82381e482dd326962c1ed7/calendar/meet-calendar.js#L289
    [code] 
            
              
        
        
                  
          279.                             this.getInviteText());
        
                  
          280.                     }
        
                  
          281.                 });
        
                  
          282.         }
        
                  
          283.         else {
        
                  
          284.             this.addDescriptionText(this.getInviteText());
        
                  
          285.         }
        
                  
          286.         this.updateButtonURL();
        
                  
          287. 
                  
          288.         if (location)
        
                  
          289.             location.addLocationText(
        
                  
          290.                 LOCATION_TEXT + ' - ' + BASE_URL + this.event.meetingId);
        
                  
          291.     } else {
        
                  
          292.         this.updateButtonURL();
        
                  
          293.     }
        
                  
          294. }
        
                  
          295. 
                  
          296. /**
        
                  
          297.  * The description html element.
        
                  
          298.  * @abstract
        
                  
          299.  */
        
              
        
            
          
    [/code]

@Phat_Le (Phat Le) replied

    yes, I have commented on this line to not fill the URL meeting id in the location field.  
    May I create the field to contain the meeting id URL of the Jitsi Meet?

( there was a missing post )


{'source': 'discourse', 'url': 'https://community.jitsi.org/t/customize-personalize-add-a-jitsi-meeting-button-for-calendar/16967', 'title': 'Customize / personalize "ADD A Jitsi Meeting" button for calendar', 'views': 3371, 'has_accepted_answer': False, 'word_count': 1094, 'like_count': 0, 'reply_count': 12, 'participant_count': 3, 'posts': 21, 'tags': '', 'author': '@ziloub (Sylvain Ziloub)', 'participants': '@ziloub (Sylvain Ziloub), @damencho (Damian Minkov), @Phat_Le (Phat Le)', 'image_url': [None], 'created_at': '2019-02-21T04:53:54.380Z', 'last_posted_at': '2021-12-22T13:25:00.250Z'}