-
Notifications
You must be signed in to change notification settings - Fork 180
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
Return data for use in extensions #66
Return data for use in extensions #66
Conversation
Hey @chrismichaels84, thanks for all the work you've put into this library the last few days! I'm having a REALLY busy week, and while I want to dig through all your pull requests right now, I probably won't have a chance until next week. Please be patient with me. :) |
Take your time man. I'm just wantin' to help out. |
I was looking for a solution to this very issue and noticed in your example you're missing a closing ( ' ) after page_lang
should be
|
ah...quotes and semicolons. The bane of my existence. Thanks for the catch. Any word on these Pull Requests? |
Lol, I hear you man. No problem. I'm running what I need off my fork On Mon, Apr 20, 2015 at 2:24 PM, Jonathan Reinink notifications@github.com
|
👍 |
@chrismichaels84 Are you around to support this PR? It looks like your original plates repo is gone. |
In response to #60 this pull request gives access to template data for extensions. In effect, calling
$template->data()
with no arguments will return the data array. I added a test for this. I am doing another pull request for documentation.Now you can do what was described to badpenguin. I've check this. It works wonderfully.
And in the template
If you've already implemented this, or if you wanted to do it a different way, no biggie. Just though I'd pitch it.