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

XF 1.4 Embedding Account Upgrades Page @ Bottom of Thread?

Discussion in 'XenForo Questions and Support' started by SurferJon, Mar 25, 2015.

  1. SurferJon

    SurferJon Member

    Is it possible to include the body of the "Account Upgrades" page in another template, such as the footer or a thread? I tried injecting account_upgrades into another template like this:
    <xen:include template="account_upgrades" />
    ...Except everything BUT the subscription options displayed. I'm assuming it's because stuff isn't being included that the template needs to run / to show the subscription options. Anyone have any ideas on how to make the template work on any page? Thank you!
    Last edited: Mar 25, 2015
  2. Mike

    Mike XenForo Developer Staff Member

    This isn't possible without custom development. The data you need isn't available without additional code.
    SurferJon likes this.
  3. SurferJon

    SurferJon Member

    Ah I see. What kind of code does it need? Like hooks or something?
  4. Brogan

    Brogan XenForo Moderator Staff Member

    The data which is present on the account upgrades page needs to be made available to the other template.

    To do that requires code (PHP) to fetch the data and pass it to the template.
    SurferJon likes this.

Share This Page