Page 2 of 3

Re: Is there a Google +1 Button Plugin?

Posted: Thu Jul 14, 2011 4:15 pm
by seraphyn

Code: Select all

<g:plusone size="small" count="false" href="{$entrydata.url}"
Seem to work better, or?

Re: Is there a Google +1 Button Plugin?

Posted: Thu Jul 14, 2011 4:38 pm
by AdamZ
thanks so much for this

i just put

Code: Select all

<!-- Place this tag where you want the +1 button to render --><g:plusone></g:plusone>
within the google bookmarks section of findmore TPL so that it was selectable in the backend (and because i wasn't using google bookmarks anyways.

and this i added to the bulletproof footer from the GUI

Code: Select all

<script type="text/javascript"
src="https://apis.google.com/js/plusone.js"></script>
Works fine for me

Re: Is there a Google +1 Button Plugin?

Posted: Thu Jul 14, 2011 5:44 pm
by onli
seraphyn wrote:

Code: Select all

<g:plusone size="small" count="false" href="{$entrydata.url}"
Seem to work better, or?
I don't see exactly the difference. Didn't you just remove the encoding and add a tag? Maybe you are talking about something happening when using the button and not about the creation of the button itself, it is quite possible than that your version works better. I had no opportunity to test my code apart from seeing if a sound looking button gets created. And on my testsystem , extendend entries are never used (nor disabled), all ist written into the first textarea.

Re: Is there a Google +1 Button Plugin?

Posted: Thu Jul 14, 2011 6:14 pm
by seraphyn
Forget it, it does not waork :/
lol

Re: Is there a Google +1 Button Plugin?

Posted: Thu Jul 14, 2011 6:29 pm
by seraphyn
Wait looks like i was right:
Use your Code it is only using ,in not extended view, (EDIT: COMMA SEPERATION ;) ) the FQDN.
With {$entrydata.url} instead of {$entrydata.url|escape:url} it uses the Entry in overview ( not extended) and extended mode.
I have had a look at my Profile on google+ Section +1.
So it is better to use:

Code: Select all

<g:plusone size="small" count="false" href="{$entrydata.url}"</g:plusone><
instead of

Code: Select all

<g:plusone size="small" count="false" href="{$entrydata.url|escape:url}"</g:plusone><
So the whole page is not +1 only the entry I've favourited.

Chris

Re: Is there a Google +1 Button Plugin?

Posted: Thu Jul 14, 2011 6:39 pm
by onli
That's strange, because this is of course not the semantic of the escape:url, at least not as far as i understand. But well, maybe google wants the url unescaped and the escaping triiggers a cutoff. Nice find then :)

Re: Is there a Google +1 Button Plugin?

Posted: Thu Jul 14, 2011 6:46 pm
by seraphyn
Thanks.
Takes me a little time to find this, was a strange behaviour.
Okay, the I've just fighting to get the Javascript in the Header from plugin_findmore like the headerplugin.

Re: Is there a Google +1 Button Plugin?

Posted: Fri Jul 15, 2011 8:34 am
by ripanti
Hey,

thanks for trying out Spreadly.
During the next weeks we are implementing the native Google+ API in our Spreadly Button.

So please stay tuned.

Feel free to ask me any questions about our service.

Kind regards
Marco

Re: Is there a Google +1 Button Plugin?

Posted: Fri Jul 15, 2011 9:13 am
by seraphyn
Sorry,

but I do not want to use Spreadly.
Some prefer not 3rd Party and only want to use services directly.
but nice to hear for the Spreadly-Fans.
Otherwise this have a bad taste, first post and adverstisment... just subjective from my side
Chris

Re: Is there a Google +1 Button Plugin?

Posted: Fri Jul 15, 2011 9:20 am
by ripanti
I'm sorry I only want to talk about our roadmap and I find our button mentioned on this thread.

Thanks again
Marco

Re: Is there a Google +1 Button Plugin?

Posted: Fri Jul 15, 2011 9:27 am
by seraphyn
ripanti wrote:I'm sorry I only want to talk about our roadmap and I find our button mentioned on this thread.

Thanks again
Marco
Hey, your're welcome :)
I know my post sounds a little bit hard, but I'm fighting with this small thing since 2 Weeks to put it automatgically in the header and to have a selection for the sizes and show with/without a number :)
Then somebody, hey, use this and no problems ;)
I'm not very affinitiv with this type of code, so I'm lame a lil' bit to code something like that.
Beginner of course.
So I'm sorry fot that

Chris

Re: Is there a Google +1 Button Plugin?

Posted: Fri Jul 15, 2011 9:33 am
by Timbalu
seraphyn wrote:..., but I'm fighting with this small thing since 2 Weeks to put it automatgically in the header and to have a selection for the sizes and show with/without a number
where is the problem with 'frontend_header'?

Re: Is there a Google +1 Button Plugin?

Posted: Fri Jul 15, 2011 9:34 am
by seraphyn
So I find this one:
http://www.s9y.org/102.html#A38
Plugins can emit HTML which is put in the header.
How is it to use?
Chris

Re: Is there a Google +1 Button Plugin?

Posted: Fri Jul 15, 2011 9:39 am
by seraphyn
Okay,
think It got it.
Test it now

Re: Is there a Google +1 Button Plugin?

Posted: Fri Jul 15, 2011 9:43 am
by Timbalu
the easy way:
take the plugin, add the frontend_header, add the output your want, in template say smarty to output the frontend_header part in the header