DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:google_cal

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:google_cal [2014-02-19 16:35] – [Discussion] 2001:620:600:3800:581b:25ba:50cb:474cplugin:google_cal [2023-10-30 22:25] (current) Klap-in
Line 7: Line 7:
 type       : syntax type       : syntax
 lastupdate : 2011-12-26 lastupdate : 2011-12-26
-compatible : "Binky"+compatible : Binky
 depends    :  depends    : 
 conflicts  conflicts 
Line 25: Line 25:
 ===== Installation ===== ===== Installation =====
  
-^  Download | [[http://github.com/lupo49/plugin-google_cal/tarball/master|Current archive from github]] |+^  Download | [[https://github.com/lupo49/plugin-google_cal/tarball/master|Current archive from github]] |
  
  
Line 36: Line 36:
   * the [614,640] are width and height -- these are both optional, but must be enclosed in [ , ] if present.  If only one value is supplied, it is assumed to be the height.   * the [614,640] are width and height -- these are both optional, but must be enclosed in [ , ] if present.  If only one value is supplied, it is assumed to be the height.
   * the | marks the 'alternate text' used for a title; otherwise you get the default configured in Google.   * the | marks the 'alternate text' used for a title; otherwise you get the default configured in Google.
- 
- 
-EDIT: \\   
-Hi,\\   
-I managed to have something looking more like what I wanted using this string: (capitals should be replaced by your desired values) 
- 
-  {{cal>GMAILUSERNAME%40gmail.com&amp&title=FIRSTWORD%20SECONDWORD%20THIRDWORD%20FOURTHWORD&amp&mode=WEEK&amp&amp&wkst=2&amp&bgcolor=%23666666&amp&color=%232952A3&amp&ctz=Europe%2FZurich"[DESIREDWIDTH,DESIREDHEIGHT]|__TITLEDISPLAYEDINDW__}} 
- 
-This was modified from what Googles gives me in <iFrame> code (Calendar details -> embed this calendar) 
- 
-  * For the title: %26 (instread of a word) = "&" 
-  * For the mode: "WEEK" is in capitals anyway 
-  * The "bgcolor" value defines the background color. Here = dark grey 
-  * "color" is the color of the events on the calendar. Here: blue 
-  * "ctz" is the time zone 
-  * wkst = week start on (1 = Sunday; 2= Monday; 7 = Saturday) 
-I still need to log into my gmail account first in order to have anything displayed... I don't know if there would be a way to add the authentication settings here too\\   
-Best, -a- \\   
-END OF EDIT 
  
      
Line 71: Line 52:
 ==== Changelog ==== ==== Changelog ====
  
-{{rss>http://github.com/lupo49/plugin-google_cal/commits/master.atom date}}+{{rss>https://github.com/lupo49/plugin-google_cal/commits/master.atom date}}
  
  
Line 113: Line 94:
  
 > Hi - I was wondering if it was possible to login to the calendar automatically when the page loads? Thanks - David > Hi - I was wondering if it was possible to login to the calendar automatically when the page loads? Thanks - David
 +
   * would there maybe be away to implement something similar to the workaround Giloux found in the case of the iCalendar plugin (https://www.dokuwiki.org/plugin:icalendar#authentication)?   * would there maybe be away to implement something similar to the workaround Giloux found in the case of the iCalendar plugin (https://www.dokuwiki.org/plugin:icalendar#authentication)?
-  * Maybe implement something like this: ''http(s)://username:password@host:port/url-path'' //This will enable you to have direct access to pages that require authentication and/or are accessed via non-standard ports. Many system status pages are configured in this manner.// It doesn't work yet, I tried. Even when replacing ":" with "%3A"):+  * Maybe implement something like this: ''http(s):[slash-slash]username:password[at]host:port/url-path'' //This will enable you to have direct access to pages that require authentication and/or are accessed via non-standard ports. Many system status pages are configured in this manner.// It doesn't work yet, I tried. Even when replacing ":" with "%3A" 
 +  * Or something like [[http://www.php.net/manual/en/features.http-auth.php|this]]
  
  
 > feature request: Is there any way (syntax or other) to have the calendar/frame displayed at the center of the page rather than on the left side? Tx -a- > feature request: Is there any way (syntax or other) to have the calendar/frame displayed at the center of the page rather than on the left side? Tx -a-
  
-> Hi, the frame displays "Events from one or more calendars could not be shown here because you do not have the permission to view them." until I log into my Google account... Obviously... Would there be a way to prevent that? Is there any setting in my Google account I could change? Should I make the Calendar public or anything? What would be the consequences from a security point of view? Tx -a-+> Hi, the frame displays "Events from one or more calendars could not be shown here because you do not have the permission to view them." until I log into my Google account... Obviously... Would there be a way to prevent that? Is there any setting in my Google account I could change? **Should I make the Calendar public** or anything? What would be the consequences from a security point of view? Tx -a- 
 + 
 +> <del>Hi, although the default view mode in my Google account is "week", the calendar inside the frame on my wiki keeps on displaying the "month" view by default (I need to click on "week" every time). Is there any way to change that permanently? PROBABLY by using some trick similar to the one of //BrentDunnaway// to change colors... Tx -a-</del> 
 + 
 +[EDIT] 
 + 
 +Fixed!: I managed to have something looking more like what I wanted using this string: (capitals should be replaced by your desired values 
 +  {{cal>GMAILUSERNAME%40gmail.com&amp&title=FIRSTWORD%20SECONDWORD%20THIRDWORD%20FOURTHWORD&amp&mode=WEEK&amp&amp&wkst=2&amp&bgcolor=%23666666&amp&color=%232952A3&amp&ctz=Europe%2FZurich"[DESIREDWIDTH,DESIREDHEIGHT]|TITLEDISPLAYEDINDW}}   
 + 
 +This was modified from what googles gives me in code (Calendar details -> embed this calendar)
  
-> Hi, although the default view mode in my Google account is "week", the calendar inside the frame on my wiki keeps on displaying the "month" view by default (I need to click on "week" every time). Is there any way to change that permanently? PROBABLY by using some trick similar to the one of //BrentDunnaway// to change colors... Tx -a-+  * For the ''title'': %26 (instead of a word) = "&" 
 +  * For the ''mode'': ''WEEK'' is in capitals anyway 
 +  * The ''bgcolor'' value defines the background color (here = dark grey) 
 +  * ''color'' is the color of the events on the calendar (here: blue) 
 +  * ''ctz'' is the time zone 
 +  * ''wkst'' = week start on (1 = Sunday; 2= Monday; 7 = Saturday) 
 +[END-OF-EDIT]
  
 ==== Future Directions  ==== ==== Future Directions  ====
plugin/google_cal.1392824125.txt.gz · Last modified: 2014-02-19 16:35 by 2001:620:600:3800:581b:25ba:50cb:474c

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki