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.
http://smarty.php.net/manual/en/ {php} // any php code can be inside this block $v = "!"; print "OK - printed by php code $v"; {/php}
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.