1. Add member fields that store page content;
2. Modify the membership form and check the new member fields (entry items, can be added, can be modified, and displayed in the front desk);
3. Modify the space template Add the page link: "page.php?userid==$userid?>&p=field name".
Operation steps:
First look at the effect of the member space without adding a custom page:
1. Add a member field to store the page content
1. Go to "User Panel"->"Manage Member Fields"->Click the "Add Field" button, as shown below:
2. Then enter the Add Field page, set the field, and then click Submit, as shown below:
Note: The field added in the above picture is named userpage’s member field
3. After clicking Submit, return to the management field page, and you can see the “userpage” we just added ” field, as shown below:
2. Modify the membership form and check the new membership field
1. Go to “User Panel” -> “Manage Membership Form” -> ;Modify the "Personal Registration Form" and enter the following interface:
Instructions:
(1). You need to check "Entry Items", "Can Add", "Can Modify", and "Display in the Front Desk".
(2). You must choose to automatically generate a form template, so that the member form plus field variables will be updated.
2. After the membership form is modified, front-end members can enter the field content, as shown below:
3. Modify the space template and add the page link
field content Display page link: page.php?userid==$userid?>&p=userpage
Use dreamweaver to modify the member space template: /e/space/template/default/header.temp.php
Add a link to the custom page to the navigation menu, as shown below:
Save the file after modification.
4. Preview the effect of the member space "custom page" page
The above is my customized single page for the member space Summarize
The above is the detailed content of Empire CMS 6.0 function member space customization single page. For more information, please follow other related articles on the PHP Chinese website!