• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Add-on Looking for someone with creating addon experience!

Cylent1

Active member
#1
Hello!
I am a little lost looking for some advice.
I am creating an Add-On. I have the template edits already done, along with the NON-FUNCTIONAL AdminPC options also.

For my Modified Templates, I have 3 of the same template but with different edits.
In my options I have 3 radio buttons for different options to select one of the modified templates.
This is where I'm stuck... I do not know how to make the selected option call the selected template.
Any Help is much appreciated...
 
Last edited:

Brogan

XenForo moderator
Staff member
#2
You should just be able to use a xen:if to check the radio button is selected and if it is, include the necessary template.

Have a look at an existing option to see how it is used in templates.
 

Cylent1

Active member
#3
You should just be able to use a xen:if to check the radio button is selected and if it is, include the necessary template.

Have a look at an existing option to see how it is used in templates.
Thanx for the quick response. Where would I use xen:if at?
It sounds like I might have to make a /library/myaddon/php file?
and would that be where I would make my calls?
Forgive me... I am new to all this!
 
Last edited: