I would like to see how I can use conditional to insert template X on resource X, template Y on resource Y, etc.
And I would like to insert template X into this location. This part I figured out where to put them in xfrm_resource_wrapper_macros
Now I need to find a way to extract the id of the resource being display and insert a custom template in that position.
![Screenshot 2023-03-19 at 1.35.57 AM.webp Screenshot 2023-03-19 at 1.35.57 AM.webp](https://xenforo.com/community/data/attachments/282/282407-de6f64fdfe41a310040db1de677e7ca5.jpg?hash=3m9k_f5Box)
And I would like to insert template X into this location. This part I figured out where to put them in xfrm_resource_wrapper_macros
Now I need to find a way to extract the id of the resource being display and insert a custom template in that position.
![Screenshot 2023-03-19 at 1.35.57 AM.webp Screenshot 2023-03-19 at 1.35.57 AM.webp](https://xenforo.com/community/data/attachments/282/282407-de6f64fdfe41a310040db1de677e7ca5.jpg?hash=3m9k_f5Box)
Last edited: