Chunk tpl
sottwell opened this issue · comments
The only option is to edit the quickbar.chunk.tpl file? No &tpl option?
doesn't look like it. but i'll put that down for a feature request. and keep my eyes peeled for a PR ;)
Ok.
And in this case I have need of being sent to edit the parent resources, since the content of the resource is handled by a MIGX grid TV in the parent resource, so I'll probably go ahead and add at least that one other property. Definitely a corner case, but why not, if I'm going to be playing in its guts after all?
Well. That's a lot easier than I thought, that's all in the chunk tpl anyway...
<li><a href="[[+mgr_url]]?a=resource/update&id=[[*parent]]" target="_blank">Edit Resource</a></li>
Ok, after a few false starts (like removing the single-quotes from the chunk name now that it's a variable) this appears to be doing the job.
Awesome. Thanks for sharing @sottwell! I'll try and slot some time to looking into making this configurable within the next week or two.
Didn't my pull request come through? Yes, #25
sorry i overlooked it. just merged!
You did say that you were "keeping your eyes peeled" for a PR ;)
and I'm so glad i got one 🎁
Will get an update out soon (as in hopefully 72 hours). thanks so much!
updated. released with 1.1.0. thanks @sottwell
can it be that the snippet 'createNewLink' has been accidently been commented out in this PR?
i'm getting errors see #26
did this project die?