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

Empire CMS 6.0 function member space customization single page

May 07, 2020 pm 02:30 PM
1

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 of this Website
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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)