https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31339

--- Comment #4 from David Cook <[email protected]> ---
(In reply to Paul Derscheid from comment #3)
> I love this approach. 

Glad to hear it!

> I could look it up myself but can you pass props to wrappers?

You can! I was going to do a better example, but I was running out of time last
night hehe. 

If you look at
https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=30289&attachment=133074
you can see I'm passing in "bodyid", "breadcrumb_label", "columns", and
"include_navigation" to the wrapper. In that case, I'm just passing strings,
but you can pass variables too. 

You can define your jsinclude and cssinclude blocks in your individual pages
and they'll still be processed via the includes in the wrapper.

So it's quite flexible and very powerful.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to