XF 2.2 Thread Id in custom thread field

Ben J

Member
Is it possible to access the thread id in the custom thread field? I have been searching the forum and I cant seem to find a way to get the thread id in the custom field. I can add the {value} of the custom field, but not thread info. If it is possible, could someone tell me how?
 
Most likely $thread is not available there.

You can check which params are available using `{{ dump(vars()) }} .

I couldn't get ICODE to work, it doesn't seem like dump(vars()) produces anything either. I tried to add it with { and {{ as well as within an icode, but nothing. It should have produced a result if it was enabled, right? Perhaps I don't know how to include it properly?
 
Back
Top Bottom