k3davis
Forum Replies Created
-
Forum: Plugins
In reply to: [Google Doc Embedder] [Plugin: Google Doc Embedder] Remove toolbar completelyComplete removal of the toolbar is coming as promised in v2.5 (hopefully a month or two, as there are major changes). I’m not sure what you mean by “print button” as that’s not visible except in full screen view, which is a Google page not present in my plugin.
There is a known issue in 2.4.6 where hidden toolbar buttons in the viewer still are narrowly clickable even though the icons aren’t visible. This is fixed in the next version as well, and I can send you a patch for the specific issue you’re seeing with some clarification on which button you mean. You can contact me directly via the support link in your plugin list.
This particular use:
/** * Set visual editor as "read only" * * @return array Array of arguments to send to editor */ function cf_visedit_readonly() { // suppress php warning in core when editor is read only error_reporting(0); return $args['readonly'] = 1; } add_filter( 'tiny_mce_before_init', 'cf_visedit_readonly' );From my “Code Freeze” plugin:
Would definitely seem to indicate a browser cache issue, as suspected…
IE9 does *NOT* reliably clear its browser cache, in spite of having the most “advanced” options for doing so.
Forum: Plugins
In reply to: [Google Doc Embedder] [Plugin: Google Doc Embedder] It could be localizableHello szemcse,
Thanks for contributing the Hungarian translation. I’ve added it to the distribution of 2.4.6.
Be advised that 2.5 is almost a complete rewrite so there will be a good deal of re-translating to do. I am hoping to release it in beta form next month.
Kevin
This feature is planned for a future version, but isn’t currently available. I plan to add a number of alternative ways of displaying documents in GDE 3.0. I had to work on rearranging the settings page first to make room for such things, and that work is well underway already and should be in v2.5.
You might be able to cobble this together for now by using GDE with another plugin that clicks to show/hide divs, and put the viewer shortcode within that div – a plugin that uses jquery accordion menus or something of that sort.
Forum: Plugins
In reply to: [Google Doc Embedder] [Plugin: Google Doc Embedder] XLS and XLSX doesn't workGlad it’s working for you now. I sent you an email reply as well; if you’d reply via email with the plugin you’re using that clones posts, I’d like to check it out and make sure I don’t have any compatibility problems with it. Thanks!
Forum: Plugins
In reply to: [Google Doc Embedder] [Plugin: Google Doc Embedder] XLS and XLSX doesn't workIn every case the plugin will either show the viewer, or show an error (possibly in the html source). However, neither are showing up on this page, so the plugin seems not to be triggered at all.
I tried the same shortcode on my test page, and it worked for me:
http://www.davistribe.org/gde/test2/
I would check in HTML mode (rather than the visual editor) and make sure the code is really what it appears to be – for example, check for “smart quotes” (curly ones), encoded quotes or spaces, etc. The shortcode as it is above looks fine, so you may just paste it just like that into the HTML tab.
Forum: Plugins
In reply to: [Google Doc Embedder] [Plugin: Google Doc Embedder] XLS and XLSX doesn't workI don’t see any message on that page at all that’s being generated from my plugin – just a straight link to the document.
No javascript application is going to be 100% available in every browser, especially when you’re dealing with junk like IE; but that said, I’ve not had any problem loading the above linked documents in any browser on any computer I’ve tried. I’m sorry for whatever difficulty you’ve experienced. Hope you find another solution for your requirement.
Hi Peter,
Sorry for this inconvenience, but changing the link also is an indicator that the browser is hanging on to something it shouldn’t. The viewer works the same with both locally and remotely hosted files – it doesn’t differentiate at all.
Sometimes switching from Standard Viewer to Enhanced in GDE Settings, reloading, and (optionally) switching back again can also trigger a reload without cache.
These (IE9) steps also help ensure cache is not in play, though there will probably be performance and network hit if you leave them like this on an ongoing basis:
Select Tools >> Internet Options.
Click the Settings button in Browsing History.
Select the Every time I visit the webpage radio button.
Click OK to close the Settings dialog.
Click OK to close the Internet Options dialog.Let me know how it fares for you. (Of note: I’ve yet to try this plugin, or anything else for that matter, in IE10.)
Both documents load normally for me in IE9 on the first try.
Have you followed the same advice as above (clear your browser cache)? Remember that in IE it doesn’t clear cache on favorited sites by default.
Let me know if you need more help.
Kevin
I will see about changing the direction of the toolbar for RTL languages. It may be possible. However, adding a print button is not currently possible. It is easy to add the button itself, but the viewer does some resizing in the background (to make the viewer change size and clarity when you resize the page). Even adding my own print function does not work because it cannot account for this resizing. I have gotten it to work but only to print a very small portion of one page. It is not useful. I will try again in the future and see if there is anything I can do, but right now there is not.
Forum: Plugins
In reply to: [Google Doc Embedder] [Plugin: Google Doc Embedder] The Mobile ThemeNeither of these options are available in the mobile theme from Google. Maybe I can design an alternate mobile theme in the future, but for now this is not possible.
I assume you’re using the mobile theme on the desktop, since “print” is basically irrelevant to mobile?
yair,
Adding a print button is easy enough, but getting it to actually work is an altogether different problem. The embedded version of the viewer does not contain code to enable this function.
Not sure I understand your second point – you want the toolbar to be LTR in your language, even though your language is RTL? If not please try explaining that a bit further. Thanks.
Kevin
Forum: Plugins
In reply to: [Google Doc Embedder] [Plugin: Google Doc Embedder] Buttons don't workGlad you figured out the issue. In order to view more of the PDF you’ll have to use a pixel height – looks like something in the area of 715px on the page you linked to. 100% height doesn’t do what you think it will do, at least not with that theme’s style sheet. You can just add
height="715px"to the shortcode of that one if it doesn’t work the same for other documents.