&p=field name”. Operation steps: First look at the effect of the member space without adding a custom page: 1. Add member fields that store page content 1. Go to "User Panel" -> "Manage Member Fields" -> click the "Add Field" button, as shown below: 2. Then enter..."/> &p=field name”. Operation steps: First look at the effect of the member space without adding a custom page: 1. Add member fields that store page content 1. Go to "User Panel" -> "Manage Member Fields" -> click the "Add Field" button, as shown below: 2. Then enter...">

Home  >  Article  >  CMS Tutorial  >  Empire CMS 6.0 function member space customization single page

Empire CMS 6.0 function member space customization single page

骑猪看太阳
骑猪看太阳Original
2020-05-07 14:30:06344browse

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:
Empire CMS 6.0 function member space customization single 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:
Empire CMS 6.0 function member space customization single page
2. Then enter the Add Field page, set the field, and then click Submit, as shown below:
Empire CMS 6.0 function member space customization single pageNote: 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:
Empire CMS 6.0 function member space customization single page

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:
Empire CMS 6.0 function member space customization single pageInstructions:
(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:
Empire CMS 6.0 function member space customization single page

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:
Empire CMS 6.0 function member space customization single pageSave the file after modification.


4. Preview the effect of the member space "custom page" page

Empire CMS 6.0 function member space customization single 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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn