bummzack / page-blocks

Page Blocks Module for SilverStripe
BSD 3-Clause "New" or "Revised" License
15 stars 12 forks source link

Block Controller? #12

Open christopher-s opened 8 years ago

christopher-s commented 8 years ago

Hi there,

Is there a way to marry Blocks to a corresponding block controller?

This would allow blocks to contain some additional controller-based logic - instead of referencing the page controller in some way.

Thoughts?

bummzack commented 8 years ago

Sounds good. Do you already have an implementation in mind? A PR would be welcome!

christopher-s commented 8 years ago

Haven't thought much about implementation yet - wanted to ask to see if you had something on the radar.

I'll keep this in mind for the next time I need to solve this particular problem and try to put a solution in place (and do a PR).

Fantastic module, by the way. You have a lot of fans over at Evans Hunt (http://www.evanshunt.com). Keep up the good work!