-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Personalize the URL #25
Comments
Also im trying to personalize the url, do you find a solution @emerchan ? |
Just set the url as part of the data context for the template. See https://github.com/meteorclub/shareit/blob/master/client/views/twitter/twitter.coffee#L35 |
This isn't working for me, but perhaps I understood wrong. I set url to return with the current data object in iron route so that this.url within the page returns my custom url. The shareit buttons still yield the current page url. Not sure where I'm going wrong. |
Nevermind. I hadn't set url in the shareData object that I was returning to the shareIt template. I was under the impression it would automatically use it if it was provided in the data context. Working now! |
Hello, How I can personalize the URL that is showing, for example now takes the URL http://localhost:3000/ but I want http://localhost:3000/posts/sdakjhsda7s6dajwew6
Also, How I can change the buttons to just icons
Thanks
The text was updated successfully, but these errors were encountered: