Attached: please find replacement for inheritance.
Mostly I just wanted to see if it could be done.
Also I don’t like it when people tell me I can’t do something I want to do. 😉
I’m not saying using this is a good idea, but if you want show_full_control_panel_end back, here it is.
Updated: fixed a pretty serious problem with the css controller Updated: latest version now at http://devot-ee.com/add-ons/wallace/ - fixes similar problem with javascript controller
Attached: please find replacement for inheritance. Mostly I just wanted to see if it could be done. Also I don’t like it when people tell me I can’t do something I want to do. 😉
Don’t know if you’re referring to my “there is no replacement for inheritance” statement but I was talking in general (inheritance vs. hooks). This was sort of a OT discussion I guess that started when Derek mentioned introducing “final” (which would be a problem for many of us who rely on inheritance to avoid core-hacking).
Attached: please find replacement for inheritance. Mostly I just wanted to see if it could be done. Also I don’t like it when people tell me I can’t do something I want to do. 😉Don’t know if you’re referring to my “there is no replacement for inheritance” statement but I was talking in general (inheritance vs. hooks). This was sort of a OT discussion I guess that started when Derek mentioned introducing “final” (which would be a problem for many of us who rely on inheritance to avoid core-hacking).
Oh yes yes I know, no worries. I was just being tounge-in-cheek. 😉
Honestly though I just think that there are things that are just easier to do with some simple text replacement. Overriding classes works for a lot of the broad strokes but when it comes to more subtle changes, and when it comes to things that the API designers haven’t thought of, it’s nice to have something to fall back on.
Personally I like the model of having a system that just lets you do whatever you want - be it show_full_control_panel_end, mix-ins, or Extends keywords (http://docs.realsoftware.com/index.php/Extends) or other such things that a lot of purists might consider “hacks”.
The bottom line is they let you get your job done and they let you do things that the original designers of a system might not have thought of. That’s really all I care about.
And to be honest? I’ve never had a problem with extensions competing for show_full_control_panel_end that I couldn’t solve pretty quickly. I would tend to think that anyone who says that it is unworkable probably just hasn’t done very many real-world EE implementations. It is almost never an issue.
The bottom line is they let you get your job done and they let you do things that the original designers of a system might not have thought of. That’s really all I care about. And to be honest? I’ve never had a problem with extensions competing for show_full_control_panel_end that I couldn’t solve pretty quickly. I would tend to think that anyone who says that it is unworkable probably just hasn’t done very many real-world EE implementations. It is almost never an issue.
Perfectly said.
You can modify the Publish form without those hooks, though you will use different methods and perhaps different add-ons than you did in 1.x.
Derek, I believe several people in this thread have been waiting on you for months to enlighten them as to just exactly how they’re supposed to go about modifying the Publish form in EE 2 without those hooks and without extending the EE core (which they’ve been told by EllisLabs in this very thread to not do since it would cause a massive mess if every add-on were to do that).
[Mod Edit: Removed Profanity. These are professional forums, please use professional language.]
It’s great that we have show_full_control_panel_end back via this extension but performing a simple task such as adding a custom column to the edit screen for a client is now an arduous task. Previously there were a couple of hooks that allowed this with relative ease… now I don’t even know where to start. :/
Hi Nathan,
It looks like you might be able to override the core Table library and create your own that you can use to modify the edit listing. I’ll look into this a bit more once I get into the office. You obviously have to be careful with this sort of thing - but it does look possible without even any hacks.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.