• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Adding custom Controls to InlineMod

Fuhrmann

Well-known member
#1
Is there a way to add custom controls in the Inline mod controls? Without template edits.

I have not see a hook in there, or a possible use of a code event listener template_post_render, since the template of Inline mod is used with the <xen:include> tag.

5.png
 

Fuhrmann

Well-known member
#2
Ok, figured out.

Just have to use the code event listener template_post_render in the template forum_view (and all the others that use the inline mod) and replace the "</optgroup>" to the template with all the custom controlls.

The value of the option:

Code:
<option value="Test">Test</option>
Will be the same name of the action. This will be actionTest. It works.

I just think that can be a easy way (hooks?) to insert custom controls.