Home > CMS Tutorial > Empire CMS > How to make website link in Empire CMS

How to make website link in Empire CMS

下次还敢
Release: 2024-04-17 02:45:29
Original
764 people have browsed it

Creating a website link in Empire CMS requires the following steps: 1. Create a link column. 2. Add a link under the link column, including the link name and URL. 3. Use code in the template to add the link column to the page. 4. Customize the link's appearance as desired.

How to make website link in Empire CMS

How to Create Website Links in Empire CMS

Empire CMS is a widely used content management system that allows users Easily connect internal and external resources by creating links. The following are the steps:

1. Create a link column

  • and log in to the Empire CMS backend.
  • Go to "Column Management" > "Add Column".
  • Enter the link column name (for example, "Friendly Links") in "Column Name".
  • Select the parent column (if necessary).
  • Click "OK" to create the column.

2. Add a link

  • Go to the newly created link column.
  • Click "Add Information".
  • Enter the link name in "Link Name".
  • Enter the target URL in "Link Address".
  • Fill in other optional fields (for example, "Link Description").
  • Click "OK" to save the link.

3. Display links

To display links, you need to add the link column to the template.

  • Go to "Template Management".
  • Edit the template to which you want to add a link.
  • Insert the following code in the template code:
<code>[!--empire:listnews--]
[!--list.link--]
<li><a href="[!--list.link--]" target="_blank">[!--list.linkname--]</a></li>
[!--/list.link--]
[!--/empire:listnews--]</code>
Copy after login
  • Save the template.

4. Customize link appearance

You can customize the link appearance by editing the template in "Template Management". In the above code, you can modify:

  • [!--list.link--]: URL of the link
  • [! --list.linkname--]: Link text

If you have any other questions, please refer to the official Imperial CMS documentation or consult technical support.

The above is the detailed content of How to make website link in Empire CMS. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
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
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template