1. 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!

Discussion in 'Custom Service/Development Requests' started by Cylent1, Nov 24, 2015.

  1. Cylent1

    Cylent1 Active Member

    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: Nov 25, 2015
  2. Brogan

    Brogan XenForo Moderator Staff Member

    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.
  3. Cylent1

    Cylent1 Active Member

    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: Nov 25, 2015

Share This Page