My Account

What's New

PHPMembers Blog

Who's Online

We have 234 guests and 3 members online

 

How to modify the web template files PDF Print E-mail

PHPMembers membership software is a template-based script. To make its look and feel fit into your entire website, you need to modify its templates files.

Location of the template files

Template files of the membership system are located in /templates folder. Each available language has its own template folder which is named after the language ID. The template files are named “default.html” in each language folder. You can use any HTML editor to open the file and modify it.

Custom Tags

There are a few custom tags you need to learn for modifying the template files. These tags indicate the places showing the specific contents in the web template.

Tag Meaning
<!--tag:folder--> Membership system web folder
<!--tag:title--> Page title
<!--tag:selectLanguage--> Language selection form
<!--tag:menu--> Calls function in /lib/menu.inc.php to generate a menu
<!--tag:content--> Outputs web forms and messages


Links in the template files

It is very important to make all links in the template files to be absolute links. The template files are used by scripts in different directory levels, using relative links could cause problems of missing links.

Removing copyright information

For non-commercial users, you must keep the copyright information of PHPMembers membership software intact unless you put the following code on the home page of the website using the system.

<a href=http://www.phpmembers.com target=_top>PHPMembers Membership Software</a>

For commercial users, you can remove the PHPMembers copyright information once you purchase a commercial license for the website using the system. To purchase a license, please click here.