Skip to content
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

Chunk tpl #24

Open
ghost opened this issue Feb 6, 2016 · 12 comments
Open

Chunk tpl #24

ghost opened this issue Feb 6, 2016 · 12 comments

Comments

@ghost
Copy link

ghost commented Feb 6, 2016

The only option is to edit the quickbar.chunk.tpl file? No &tpl option?

@jpdevries
Copy link
Owner

doesn't look like it. but i'll put that down for a feature request. and keep my eyes peeled for a PR ;)

@ghost
Copy link
Author

ghost commented Feb 9, 2016

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?

@ghost
Copy link
Author

ghost commented Feb 9, 2016

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>

@ghost
Copy link
Author

ghost commented Feb 9, 2016

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.

@jpdevries
Copy link
Owner

Awesome. Thanks for sharing @sottwell! I'll try and slot some time to looking into making this configurable within the next week or two.

@ghost
Copy link
Author

ghost commented Feb 12, 2016

Didn't my pull request come through? Yes, #25

@jpdevries
Copy link
Owner

sorry i overlooked it. just merged!

@ghost
Copy link
Author

ghost commented Feb 12, 2016

You did say that you were "keeping your eyes peeled" for a PR ;)

@jpdevries
Copy link
Owner

and I'm so glad i got one 🎁

Will get an update out soon (as in hopefully 72 hours). thanks so much!

@jpdevries
Copy link
Owner

updated. released with 1.1.0. thanks @sottwell

@Lefthandmedia
Copy link

can it be that the snippet 'createNewLink' has been accidently been commented out in this PR?
i'm getting errors see #26

@Lefthandmedia
Copy link

did this project die?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants