XF 1.x Posting a widget or HTML block in a specific location

Commodore

Registered
I'm trying to embed another webpage in just ONE node. Im using BD Framework and used the Reveal Mode to create a hook.

hook:thread_list_threads

I'd like to choose ONLY the Tyrs Roleplay Sancuary location I selected below. Unfortunately It also placed it in EVERY thread node.



 

Commodore

Registered
So in the expression box I would type this?:

$forum['99'] == $3 (change 3 to your id)

- Do I still put hook:thread_list_threads in the position spot?
- What is the ID?
 

Russ

Pixel Exit Staff
Leave the position the same, the conditional/expression box would be:

$forum['parent_node_id'] == $3

3 being the node you want it to show in.
 

bt012ss

Registered
If you want to use the widget in specified forums, use this ->

Code:
in_array($forum['node_id'], array(99, 3))
 

Russ

Pixel Exit Staff
By placing a template name you're trying to add it as a sidebar which won't work. Can you try that hook position you originally had?
 

Pre-Sale Questions

If you have any questions or concerns you want to ask before you make a purchase don't hesitate to use one of our multiple support channels for your convenience.