Admin Templates "slot:" Placeholder

r1pe

Member
Hello,

I have a question regarding the "slot" placeholders in many admin templates. Is there a recommended way to use these placeholders. Sure I can create a template hook with a str_replace function and replace the "slot" comment with my additional content but is there some cleaner way to do this.

For everyone who doesn't know what I mean with "slot" placeholders, I mean the comment "<!-- slot: after_basic_information -->" in the "admin_forum_edit_panes" template for example.
 
This were meant for string replaces (find it, replace it with itself + more). They were designed for the template hook system.
 
Back
Top Bottom