• 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?

#1
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:
Code:
<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:

Brogan

XenForo moderator
Staff member
#4
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.