robdog Well-known member Aug 19, 2021 #1 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?
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?
Chris D XenForo developer Staff member Aug 19, 2021 #2 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 ...
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 ...
robdog Well-known member Aug 19, 2021 #3 Thanks for the reply. I figured it was for template modifications, but I wanted to make sure before I went down that route.
Thanks for the reply. I figured it was for template modifications, but I wanted to make sure before I went down that route.