1) Copy the profile_theme.php file and place it in a new folder alongside the “default” folder-- the name of the folder will be on the list on the Preferences page, and, will show up as a **complete** new set of template fragments under an option of that same name on the Membership Profiles menu page. All of the fragments are automatically generated each time a new theme folder is added in the membership section.
2) Do not edit the “profile_theme.php” script.
Instead, in the Membership Profiles fragments listings, there are fragments like HTML_Header, HTML_Footer, Page_Header, and so on: there is (!) one of these for each of the functions in the PHP script. Of course. Edit those fragments, and the result is exacly the same as editing the script, except it’s “correct” way and much less hazardous.
You can now switch between the two memberships themes by choosing the applicable theme using the Membership Preferences/General Configuration drop-down.
In summary, in 1.3.2, you can simply edit the default theme fragments (HTML_Header and HTML_Footer, and maybe Page_Header, etc. if you really want to fine tune) and quickly re-skin the entire membership section. By first making a new theme folder and placing a copy of “profile_theme.php” in that folder, you can choose between the stock and modified themes for application in membership section, with the benefit of having a backup and a clean upgrade path.
Source
Category:Members Category:Templates
