Home>Article>CMS Tutorial> Empire cms friendly link system tutorial
This article mainly explains the empire cms friendly link tutorial.
Friendly link system Through this function, you can manage the friendly links of the entire website.
1. Friendly link system description: Front-end voting calling method:
1. Use the friendly link tag to call
([phomelink]每行显示数,显示总数,操作类型,分类id,是否显示原链接[/phomelink])
2. You can also use tag SQL to call.
The following takes smart tags as an example: (lname is the site name field, lurl is the site address field, and lpic is the site icon address field) (To call SQL according to a certain category: select lname,lurl,lpic from [!db.pre!]enewslink where checked=1 and classid=classification ID order by myorder,lid)
(For more empire cms tutorials, please clickEmpire cms tutorial)
2. Manage friendly links
1. Log in to the backend, click the "Plug-in" menu, select the "Manage Friendly Links" submenu, and enter the management friendly links interface:
2. Enter the management friendly links interface,
3 , Add Friendly Links
1. Click the "Add Friendly Links" button from the Friendly Links Management page to enter the Add Friendly Links interface,
Site Name (required) Fill in the site name of the friendly link. Display: Choose whether to display this friendly link in the foreground.
Site icon Set the site LOGO and size of the friendly link. Text links do not need to be set here.
Site address (required) Set the site address of the friendly link and whether to open it in a new window.
Category Select the category of friendly links to facilitate unified management. Click to set the default number of clicks for friendly links.
Display order Set the display order of friendly links in the friendly link list. The smaller the value, the higher the ranking.
Webmaster Email Set the webmaster’s contact email for friendly links.
Site Profile Set the site profile of friendly links.
The above is the detailed content of Empire cms friendly link system tutorial. For more information, please follow other related articles on the PHP Chinese website!