Dan D
Forum Replies Created
-
Forum: Plugins
In reply to: [Dan's Embedder for Google Calendar] Not syncingHey, sorry for the delay in reply, I was out of the office for the Holidays.
My initial guess would be a javascript conflict, usually with a theme file. If you do want to set it up on a test page, I’d be glad to help you troubleshoot.
Dan
Forum: Reviews
In reply to: [Dan's Viewer for Google Drive] Great integration, lacks translation supportWhy don’t we work on this version. I agree that translation support should be top priority, and then added features after that.
Dan
Forum: Reviews
In reply to: [Dan's Viewer for Google Drive] Great integration, lacks translation supportYou’re welcome! I do plan on doing a cleanup. This was v1, so while it functions, there are some parts of the code that could use some work. If you want to do any sort of collaboration with making it translatable, I’d be happy to add you as an author on here.
Forum: Reviews
In reply to: [Dan's Viewer for Google Drive] Great integration, lacks translation supportHey, thanks for your response! I actually haven’t done any plugins that deal with translation of this type. This plugin is about 90% JavaScript, so I’m not able to use any of the typical WordPress functions to make it translation ready. It is something I’m looking into now, though.
In the meantime, if there’s a specific language you’re looking for, I do have this posted on my github account, and you’re more than welcome to fork it (and I’d be happy to work with you on it). https://github.com/duplaja/dans-gdrive-wp-plugin
Hello! Sorry for the wait on the reply, I’ve been out of the office. Do you happen to have a link to the page in question? It is most likely a CSS rule from your site, but if you send me the link, I can put together a fix for you.
Dan
- This reply was modified 8 years ago by Dan D.
Forum: Plugins
In reply to: [Async JavaScript] Last Update Broke ExcludesThanks! That did it.
Forum: Plugins
In reply to: [WP Google Calendar Manager - Google Calendar Plugin] Responsiveness IssuesSome further updates, to help with responsiveness:
I’ve been working on public/css/wp-gc-style.css . I found a few changes that help with making the tooltips useful on a small (phone) screen.
a.fc-event:hover:after { background: #333; background: rgba(0,0,0,.8); border-radius: 5px; top: -34px; color: #fff; content: attr(glose); padding: 5px 15px; position: absolute; z-index: 98; width: 600%; max-width:200px; font-size: 9px }
I changed the width and set a max-width, so that the window isn’t tiny on small phone screens. I also decreased the font size to 9 to make it fit a little better.
.fc-content-skeleton table tr td:nth-last-child(-n+3) a.fc-event:hover:after{ right: 20%; }
I also changed it to shift the last 3 tooltips to the left, not just the last one, for each row. This helps keep the tooltips more generally centered, and prevents overflow out of the visible area.
Forum: Plugins
In reply to: [WP Google Calendar Manager - Google Calendar Plugin] Responsiveness IssuesOk, sorry for all of the posts. I’ve been able to do a little on my own, by modifying shortcodes.php, as follows:
if(($event->start_Time != NULL) && ($event->end_Time != NULL)){ $tooltip = $event->summary." Start: ".$event->start_Time." - "; $tooltip .= "End: ".$event->end_Time; if(!empty($event->location)) $tooltip .= "Location: ".$event->location; if(!empty($event->description)) $tooltip .= " (".$event->description.")"; $ev[] = array( 'title' => "$event->summary", 'start' => $event->start_Date.'T'.$event->start_Time, 'end' => $event->end_Date.'T'.$event->end_Time, 'allDay' => false, 'tooltip' => $tooltip ); }
(adding $event->summary to the tooltip)
The things I have left that I’m trying to accomplish:
1) Line breaks to make the tooltip more readable.
2) Force tooltips to be in viewable areas, on smaller screens. For example, the last day of the week always has the tooltip box shifted left, to be readable. But the 2nd to last, or 3rd from last, sometimes overflow out of the viewable area.
3) Forcing a minimum size on the calendar, so if it’s not initially displayed, I’m not forced to click a button to display it (this one is more on me, since I’m using it with another plugin.
Thanks!
Forum: Plugins
In reply to: [WP Google Calendar Manager - Google Calendar Plugin] Responsiveness IssuesJust to follow up, I think a (hopefully) easy fix would be to add the full title to the Tooltip hover. That way, when the title is too long to read, it is still visible on the tooltip. It’d also be nice, if possible, to do some custom formatting (line breaks) on the tooltip, and I’ve noticed that sometimes the tooltip is cut off by the edge of the calendar.
The other thing would be to possibly remove some of the nav elements below a certain screen size, because they break over two lines.
Of course, now I manage to figure it out. I had jQuery marked as loading deferred. Removed that, and everything worked fine. Thank you! The https is the only thing I’d still suggest, for the future.
Tobias,
Ok, thank you. I was looking to do the <div> + CSS, but was running into some interference from my theme. I’ll keep looking at it.
Thank you!
Dan
Thank you for your quick reply.
I added cache_table_output=false to both tables in use on that page, and am still experiencing the same issue. Do you have any other suggestions that I might try? Thank you again,
Dan
Further information, sorry.
I have WPSimplePay setup in testing mode at the moment, so 4242424242424242 is a valid credit card number to test with.
Thank you,
Dan