XF 2.2 Are we able to use macro on html widget?

John917

Active member
I was trying to create a XFRM category widget using the code from the template. Screenshot below shows the html code I tried.
I end up getting this error: Cannot call method count on a non-object (NULL). The widget almost works but can't fetch the data and shows "N/A."

Any way I can use macros in the html widget? Or any other idea on how I can get the category list to show on top of resource list?

Screenshots:
1661070172545.png
1661070251957.png
 
Top