Adding PHP code to to header.html

Discussion in 'Templates customization' started by sullise, Apr 10, 2004.

  1. sullise

    sullise Guest

    I'm trying to integrate aMember Pro into a CMS template I'm writting. Part of the code creates dynamic menus on the left side of the page, but I can't get aMember to properly execute the PHP code. Looking at the online docs, it's pretty scetchy on how to integrate PHP into the tempates.
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
  3. sullise

    sullise Guest

    Got it to work. Thanks. had to do some kludge work though. ...didn't like includes, require_once, my mysql_class.php, etc...had to do it all manually and repeat the code in both the footer and header files (creates both the side nav and bottom nav).

    Guess I need to look at the SMARTY docs a little closer..

    Thanks for the help.
  4. SaturnStar

    SaturnStar Guest

    Are you using aMember Pro with PHPNuke? I am too and get the same problem.

Share This Page