We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

show_full_control_panel_end hook and adding new content

Development and Programming

cityzen's avatar
cityzen
83 posts
16 years ago
cityzen's avatar cityzen

Hi Everyone-

I’m currently writing an extension that will add a preference to the weblog prefs. I’ve looked at another extension, “Required Category”, that makes additions to the weblog prefs page by doing a preg_match on the $out variable from show_full_control_panel_end hook locating the closing table tag and appending it with the code that relates to their extension. While this works, it doesn’t seem like the most efficent way to append code to the prefs table.

Can anyone give me any tips how to achieve this without having to do a preg_match. It’s not that I mind doing that, but since I have their extension installed, I’ve already run into a conflict.

Also, aside from the basic info on the extension hooks, is there any more in-depth explanation of these anywhere else? Since I’m new to this, some of these seem a little vague.

Thanks in advance and happy holidays!

Mike

       
Pascal Kriete's avatar
Pascal Kriete
2,589 posts
16 years ago
Pascal Kriete's avatar Pascal Kriete

Happy holidays!

If you haven’t yet, l suggest reading the extension tutorial in the the documentation. That covers most of the extension basics.

If there isn’t a hook to specifically append to that table, you’re probably best off using a regular expression as well. Extensions are processed one at a time, so there shouldn’t be any conflicts.

Does that help?

       
Herb's avatar
Herb
224 posts
16 years ago
Herb's avatar Herb

[deleted]

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.