[RSS Feed/News] Understand macro extension

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
In XenForo core templates:
post_question_macros template has <xf:macro name="answer" extends="post_macros::post">
What does it mean?
According to this post:
XenForo said:
When calling a macro, we now generally prefer <xf:macro name="template_name::macro_name"> over <xf:macro template="template_name" name="macro_name"> although both options are supported.
Click to expand...
"post" is supposed to be the macro...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom