Closed GoogleCodeExporter closed 9 years ago
You know what, never mind. Somehow it started working, i have no clue what
happened.
Original comment by Logic...@gmail.com
on 24 Feb 2012 at 9:01
Although, i can't find the feature where you can automatically copy the link to
the clipboard with the press of a button. Could i see a screenshot of this
about where the option should be? I can't find it anywhere.
Original comment by Logic...@gmail.com
on 24 Feb 2012 at 9:07
Here's a screenshot, it's the "Copy to clipboard" next to "Show/hide link".
If you can't see it, then your ZeroClipboard is not initialized. See example
host page in the package on how to initialize it (add js & setMoviePath)
Original comment by samuli.j...@gmail.com
on 24 Feb 2012 at 9:13
Attachments:
Ok, it probably isn't initialized yes. Although i can't figure out what do i
have to put where. I'm guessing it should go inside the index.html? If so,
could i see the content of your index.html page?
Original comment by Logic...@gmail.com
on 24 Feb 2012 at 9:28
I have added:
<script type="text/javascript" language="javascript"
src="client/include/ZeroClipboard.js"></script>
and
ZeroClipboard.setMoviePath('client/include/ZeroClipboard.swf');
in the index.html file already, but i guess something else is missing.
Original comment by Logic...@gmail.com
on 24 Feb 2012 at 9:30
Like I said, there's an example in the examples folder. But here it is attached
as well.
Original comment by samuli.j...@gmail.com
on 24 Feb 2012 at 9:30
Attachments:
Yes, i have those 2 lines already in there.
Original comment by Logic...@gmail.com
on 24 Feb 2012 at 9:31
Is there anything else i have to add to somewhere? I have the 2 new lines
(compared to the last edition) and still nothing.
Under the Minimal Example i see lines like:
<div id="d_clip_button" style="border:1px solid black; padding:20px;">Copy To
Clipboard</div>
and
<script language="JavaScript">
var clip = new ZeroClipboard.Client();
clip.setText( 'Copy me!' );
clip.glue( 'd_clip_button' );
</script>
Do i have to put these somewhere as well?
Original comment by Logic...@gmail.com
on 24 Feb 2012 at 9:41
OK, then you need to have flash installed and make sure your site is not
blocked by any flash blockers etc.
Original comment by samuli.j...@gmail.com
on 24 Feb 2012 at 9:42
I have flash installed and my server is not blocked by any flash blockers.
Original comment by Logic...@gmail.com
on 24 Feb 2012 at 9:46
No, those two lines are all that are needed. Unfortunately browsers don't allow
accessing clipboard directly, so this needs to use a very dirty workaround with
flash component, and this makes it needlessly complicated. But this really is
the only way.
Original comment by samuli.j...@gmail.com
on 24 Feb 2012 at 9:47
I tested with Internet Explorer 9 as well. In there, even the Show/Hide link
wont appear.
Original comment by Logic...@gmail.com
on 24 Feb 2012 at 9:48
Alright, i will disable the feature entirely then, can't get it to work in my
Firefox or Internet Explorer. I'm wondering how did you get it to work? In what
browser?
Original comment by Logic...@gmail.com
on 24 Feb 2012 at 9:50
I've tested it in Chrome, Firefox and Safari, all works just fine. IE is quite
low priority in my list because it doesn't obey standards, not exactly
surprised if something doesn't work in there. Officially I don't support IE
versions before 9.
If you have your site online, you can send me a link and a test account so I
can check if there are some syntax errors etc.
Original comment by samuli.j...@gmail.com
on 25 Feb 2012 at 7:58
Ok, this seems to be my weird sort of problem. It seems Samuli has the thing
working for him in his browser when he tested it in my server. I, for some
reason, can't get it to work in my own PC with 3 different browsers and can't
get it to work in 2 other PC's in my household. I'll ask feedback from the
people using Mollify in my server.
If i find a solution, I'll update this.
Original comment by Logic...@gmail.com
on 25 Feb 2012 at 10:18
Alright, i have asked my users and talked with them individually, none of them
see the "Copy Link To Clipboard" feature. Since you tested it in my server and
you saw it, makes it even more weirder. I have tried some other things, in hope
of fixing it, none of them have helped so far.
It seems like it is a browser related weird bug?
Original comment by Logic...@gmail.com
on 26 Feb 2012 at 9:52
It's because of console.log() being used in the share plugin.
Original comment by spacer...@gmail.com
on 21 Mar 2012 at 1:44
Could you be more precise please?
Where is that used exactly and is there a way to fix it?
Original comment by Logic...@gmail.com
on 21 Mar 2012 at 7:22
That's interesting, console.log it is indeed Firebug related, I wonder why none
of my browsers complained anything.
But if you open init.js under client, they are at lines 539 and 671. You can
remove both lines totally.
Original comment by samuli.j...@gmail.com
on 21 Mar 2012 at 7:29
I tried it and nothing happened, the "Copy Link To Clipboard" link didn't
appear.
Original comment by Logic...@gmail.com
on 21 Mar 2012 at 11:52
Make sure that <script type="text/javascript" language="javascript"
src="client/include/ZeroClipboard.js"></script> is before init.js and
ZeroClipboard.setMoviePath('client/include/ZeroClipboard.swf'); is before
mollify.init
Original comment by spacer...@gmail.com
on 22 Mar 2012 at 7:44
Yes, that is all correct, it's still not working.
Original comment by Logic...@gmail.com
on 23 Mar 2012 at 3:22
Samuli, i just wanted to let you know that whatever you did on the latest
update (1.8.8.3) it got the "Copy Link To Clipboard" bug fixed. I can now see
it in my Firefox browser.
Thanks!
Original comment by Logic...@gmail.com
on 19 Jun 2012 at 5:19
I have absolutely no idea what could have fixed this, as literally nothing was
done regarding the clipboard or share plugin... but I'm glad it works :)
Original comment by samuli.j...@gmail.com
on 9 Jul 2012 at 4:46
Original issue reported on code.google.com by
Logic...@gmail.com
on 24 Feb 2012 at 8:46Attachments: