I literally spent hours trying to find a way to hack a reblog (and
like button) for use in a theme; seeing that there was seemingly no
appropriate template tag to output the reblog URL. I was not
successful. As a last resort I tried using {ReblogURL}. Of course–it
worked, now if only you would include it in the docs!
Then to add a like button I assume I will just grab the value of
{ReblogURL} trim off the letters/numbers at the end of the URL
(seemingly no other way to get these numbers), and pass the URL
(http://www.tumblr.com/like/{PostID}[string-from-reblog-url]) to the
like button iframe thing via javascript.
Anyway, please just add {ReblogURL} to the theme docs and save other
theme developers a few hours of frustration.
There lots of stuff missing in there little user guide, the way i
found new things is by looking through other blogs that had it and
installing the theme to only then look at the coding and from trial
and error eventually got it to work.
On Jan 27, 8:55 pm, Angus Fretwell <he...@angusfretwell.com> wrote:
> I literally spent hours trying to find a way to hack a reblog (and
> like button) for use in a theme; seeing that there was seemingly no
> appropriate template tag to output the reblog URL. I was not
> successful. As a last resort I tried using {ReblogURL}. Of course–it
> worked, now if only you would include it in the docs!
> Then to add a like button I assume I will just grab the value of
> {ReblogURL} trim off the letters/numbers at the end of the URL
> (seemingly no other way to get these numbers), and pass the URL
> (http://www.tumblr.com/like/{PostID}[string-from-reblog-url]) to the
> like button iframe thing via javascript.
> Anyway, please just add {ReblogURL} to the theme docs and save other
> theme developers a few hours of frustration.
That's just annoying. I think information about all the template tags,
etc. should be made available–even if it's not on the main guide. I'm
sure this would encourage others to make themes; and it would
definitely make the process a lot easier.
On Jan 27, 10:26 pm, Robert Priest <robs.pri...@gmail.com> wrote:
> There lots of stuff missing in there little user guide, the way i
> found new things is by looking through other blogs that had it and
> installing the theme to only then look at the coding and from trial
> and error eventually got it to work.
> On Jan 27, 8:55 pm, Angus Fretwell <he...@angusfretwell.com> wrote:
> > I literally spent hours trying to find a way to hack a reblog (and
> > like button) for use in a theme; seeing that there was seemingly no
> > appropriate template tag to output the reblog URL. I was not
> > successful. As a last resort I tried using {ReblogURL}. Of course–it
> > worked, now if only you would include it in the docs!
> > Then to add a like button I assume I will just grab the value of
> > {ReblogURL} trim off the letters/numbers at the end of the URL
> > (seemingly no other way to get these numbers), and pass the URL
> > (http://www.tumblr.com/like/{PostID}[string-from-reblog-url]) to the
> > like button iframe thing via javascript.
> > Anyway, please just add {ReblogURL} to the theme docs and save other
> > theme developers a few hours of frustration.
> I'm willing to make a regularly updated webpage/site/blog that documents the officially-undocumented blocks, if that would help.
> Anyone want? > -- > You received this message because you are subscribed to the Google Groups "Tumblr Themes" group. > To view this discussion on the web visit https://groups.google.com/d/msg/tumblr-themes/-/nGrTbn3U5eYJ. > To post to this group, send email to tumblr-themes@googlegroups.com. > To unsubscribe from this group, send email to tumblr-themes+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/tumblr-themes?hl=en.
I would definitely appreciate this. Like the OP I just spent a few
hours trying to figure this out knowing that the functionality existed
via other themes, but struggling to reverse engineer it. I definitely
share his frustration when I discovered it was simply an undocumented
tag.
On Jan 27, 7:33 pm, Sean Zhu <interestinglyth...@gmail.com> wrote:
Okay, here's a Google Doc. Click the link and request access to the doc, and I will add you as an editor. docs.google.com/Doc?docid=0AaHdNd43xIvwZGhiY2s5bnJfNzI5ZnI1MzIzY3c Please add to the doc, because {ReblogURL} is all I have on there right now.
I will find a way to publish the information or send it to someone who can publish this. If worse comes to worse, I will post it on my website, interestinglythere.com.
If you don't want to contribute but want to see the article, please stay tuned to this thread.