XF 2.3 Mutliple Options with multiple boxes

Dannymh

Active member
Hi All,

I am setting up a new addon that takes over certain page nodes. I want to be able to allow users to select a node in a select box, and then next to it select multiple other items from a multiple select list to link to it. This should then save as an array in the options.

The other thing here is that I want users to be able to add as many of these as they like so the ability to add an add more to it would also be beneficial.

This is what I am looking to do

Screenshot 2025-09-22 at 3.28.40 pm.webp

Would I be better doing this in the options for my addons, or would it make more sense to have them a options on the page node itself? I am really trying to more centralise things but may be making it harder for myself

Cheers
Dan
 
Hi there Dan

I'm not the most experienced person, so I'd wait for someone else if I were you

However, I'm making a similar addon that required this exact same question and I plan to go for a setting in the node itself. All node settings are done in.. well the node setup / node config. So putting it elsewhere goes against your centralising plan

Additionally, and this is my primary reason, it's not easily forgotten. When you're setting up a new page, it'll ask you directly there to set it up rather than needing to go to another page. It can all be done in one process

The last question I'd ask if I were you, is who is this made for? If it's for personal use, then go with whatever you find is best. But if others who aren't yourself (especially if you plan to release this addon), I'd highly advise you to have it in the page node options instead

Hope this helps!!
 
Hi there Dan

I'm not the most experienced person, so I'd wait for someone else if I were you

However, I'm making a similar addon that required this exact same question and I plan to go for a setting in the node itself. All node settings are done in.. well the node setup / node config. So putting it elsewhere goes against your centralising plan

Additionally, and this is my primary reason, it's not easily forgotten. When you're setting up a new page, it'll ask you directly there to set it up rather than needing to go to another page. It can all be done in one process

The last question I'd ask if I were you, is who is this made for? If it's for personal use, then go with whatever you find is best. But if others who aren't yourself (especially if you plan to release this addon), I'd highly advise you to have it in the page node options instead

Hope this helps!!
Thanks mate, appreciate the reply and makes sense. I guess for me there are a bunch of settings that relate to the addon so was hoping to have them all in there to minimize the locations you have to go to in order to configure the addon. It makes it easier to do it this way however, so might just do it this way, the only thing I can think that may cause an issue here is that it may be complicated for others to have to setup the node with callback where I can kind of ignore that if I do it this way and check on page load whether to trigger my addon or not.
 
Back
Top Bottom