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

Embedding third party software (aMember) in XenForo

Discussion in 'XenForo Development Discussions' started by SchmitzIT, Nov 25, 2013.

  1. SchmitzIT

    SchmitzIT Well-Known Member


    We bought a copy of aMember to run a virtual shop for a customer. That decision was based partially on the features they offer, but also influenced by the fact that they also use the Zend Framework.

    The issue I face is that the aMember front-page is a completely separate page that looks alien to the rest of the website. I'd like to try and somehow embed the homepage to fit within the standard XenForo style, but have absolutely no clue how to go about doing something like that.

    I imagine I'll have to edit the index file and add the XenForo AutoLoader there, but would someone who might have tried this before be able to explain how I'd then go about ensuring that aMember's page shows up within the XenForo templates?

    Thanks :)
  2. Mouth

    Mouth Well-Known Member

    aMember use XenForo themselves, so asking aMember support would likely be the best point of call?
  3. SchmitzIT

    SchmitzIT Well-Known Member

    Yeah, I did that as well. Their solution is copy and paste of the XenForo markup and CSS. I'm not overly thrilled with that (as the header is bound to change over time), so I hope there's a better way somehow.
  4. LPH

    LPH Well-Known Member

    I have not tried to integrate the two so cannot comment on any particulars ... but ... instead of copying the markup and CSS maybe use a PHP include statement would be a direction to consider.
  5. SchmitzIT

    SchmitzIT Well-Known Member

    That was the path I'm hoping to take, yeah. Basically wrap the XF initializer code into the product's index.php. What I'm hoping to find out is how I could then ensure the XF HTML would "Wrap around" the aMember template.
    LPH likes this.
  6. Jeremy

    Jeremy Well-Known Member

  7. SchmitzIT

    SchmitzIT Well-Known Member

Share This Page