XF 2.2 Are these template tags for template modifications or something else?

robdog

Well-known member
I am referring to this tags:
Code:
<!--[XF:actions_menu:top]-->
<!--[XF:actions_menu:bottom]-->

Are these mainly for template modifications or can we access them through code as well?
 
Yeah we call them template extension points.

They're very useful for doing find/replace on with template modifications. As a general rule, if you do a find on them, make sure the replacement includes them with $0, e.g.

Find:
Code:
<!--[XF:actions_menu:top]-->

Replace:
Code:
$0
... whatever you're adding ...
 
Thanks for the reply. I figured it was for template modifications, but I wanted to make sure before I went down that route.
 
Back
Top Bottom