- تاریخ ثبتنام
- 2020-06-26
- نوشتهها
- 21,420
- راهحلها
- 27
- پسندها
- 3,264
- امتیازها
- 113
- سن
- 27
- محل سکونت
- England
- وب سایت
- xenforo.xyz
Hi,
while I'm able to use thread variables like title, tags, ... in my own widget in the sidebar (of a thread view) using something like e.g. $context.thread.tags -> which is great because I can do a lot of useful things with these variables in the sidebar including using it as a widget display condition.
However, I wasn't able to do the same with resources yet. I tried using {{ dump($resource) }} or {{ dump($context) }} but it doesn't give me any results in in the sidebar (of a resource...
while I'm able to use thread variables like title, tags, ... in my own widget in the sidebar (of a thread view) using something like e.g. $context.thread.tags -> which is great because I can do a lot of useful things with these variables in the sidebar including using it as a widget display condition.
However, I wasn't able to do the same with resources yet. I tried using {{ dump($resource) }} or {{ dump($context) }} but it doesn't give me any results in in the sidebar (of a resource...
نام موضوع : Use Resource variables in Widget?