HenrikHansen Well-known member Apr 19, 2021 #1 Can I put something in display condition so a widget only shows one specific thread ID? Thanks in advance.
Can I put something in display condition so a widget only shows one specific thread ID? Thanks in advance.
P Paul B XenForo moderator Staff member Apr 19, 2021 #2 $xf.reply.contentKey == 'thread-24' Upvote 0 Downvote
HenrikHansen Well-known member Apr 19, 2021 #3 Brogan said: $xf.reply.contentKey == 'thread-24' Click to expand... Sorry, Brogan, but it does not work when I put this in display. I thought it should be something like this $thread.thread_id ? Upvote 0 Downvote
Brogan said: $xf.reply.contentKey == 'thread-24' Click to expand... Sorry, Brogan, but it does not work when I put this in display. I thought it should be something like this $thread.thread_id ?
P Paul B XenForo moderator Staff member Apr 19, 2021 #4 You need to be running the latest version due to a bug which was fixed recently (or maybe I'm confusing that with something else). Regardless, it works as expected on my local. Upvote 0 Downvote
You need to be running the latest version due to a bug which was fixed recently (or maybe I'm confusing that with something else). Regardless, it works as expected on my local.
HenrikHansen Well-known member Apr 19, 2021 #5 Brogan said: You need to be running the latest version due to a bug which was fixed recently (or maybe I'm confusing that with something else). Regardless, it works as expected on my local. Click to expand... OK, I will try again. But I hope I was able to explain the widget should show only one thread, and not the widget in one thread. Upvote 0 Downvote
Brogan said: You need to be running the latest version due to a bug which was fixed recently (or maybe I'm confusing that with something else). Regardless, it works as expected on my local. Click to expand... OK, I will try again. But I hope I was able to explain the widget should show only one thread, and not the widget in one thread.
P Paul B XenForo moderator Staff member Apr 19, 2021 #6 Wait, so you want to show the thread contents in a widget, and not show the widget on a specific thread? In that case I misunderstood the request. There's nothing built in which will show a thread as a widget. Upvote 0 Downvote
Wait, so you want to show the thread contents in a widget, and not show the widget on a specific thread? In that case I misunderstood the request. There's nothing built in which will show a thread as a widget.
HenrikHansen Well-known member Apr 19, 2021 #7 Brogan said: Wait, so you want to show the thread contents in a widget, and not show the widget on a specific thread? In that case I misunderstood the request. There's nothing built in which will show a thread as a widget. Click to expand... Hi Brogan. We have a widget called "latest threads". I select the nunmber of threads to be shown as 1. Now I want to choose which thread (node. id). I thought display condition could help with that. Upvote 0 Downvote
Brogan said: Wait, so you want to show the thread contents in a widget, and not show the widget on a specific thread? In that case I misunderstood the request. There's nothing built in which will show a thread as a widget. Click to expand... Hi Brogan. We have a widget called "latest threads". I select the nunmber of threads to be shown as 1. Now I want to choose which thread (node. id). I thought display condition could help with that.
P Paul B XenForo moderator Staff member Apr 19, 2021 #8 That's not what the display condition field does. It determines how the widget is shown, not the contents of the widget. Upvote 0 Downvote
That's not what the display condition field does. It determines how the widget is shown, not the contents of the widget.