- تاریخ ثبتنام
- 2020-06-26
- نوشتهها
- 21,417
- راهحلها
- 27
- پسندها
- 3,264
- امتیازها
- 113
- سن
- 27
- محل سکونت
- England
- وب سایت
- xenforo.xyz
Hello,
I use some widgets in a thread view sidebar. One of the widgets uses the current thread title as a parameter. I've tried this
<xf:callback class="MyAddon\\MyClass" method="mymethod" params="['{$thread.title}']" ></xf:callback>
However, the parameter within my method is ##0.
What is my mistake?
regards, rhodes
I use some widgets in a thread view sidebar. One of the widgets uses the current thread title as a parameter. I've tried this
<xf:callback class="MyAddon\\MyClass" method="mymethod" params="['{$thread.title}']" ></xf:callback>
However, the parameter within my method is ##0.
What is my mistake?
regards, rhodes