Weiyan
Well-known member
Thank you for the hints. It seems off topic but not really off topic. I want to modify the threads addon to dynamically render nodes according to the current category in the view. May be I can get help in dev area.It depends on where you run your code. If you are in the View, you can always get the template's params (getParams) to see which node is being rendered. XenForo (at application level) doesn't care which node is being rendered at all. XenForo also doesn't save any states as global variables. Btw, it's quite off topic here. You can post your question at the dev area![]()
Thank you.