Advertising is an indispensable part of a website's profitability. Advertising usually appears in many forms on the website, such as: text links, image links, videos, etc. Generally, small and medium-sized webmasters like to use various affiliate ads. Here we will tell you how to use advertising plug-ins to manage your ads on DreamWeaver's website.
1. Log in to the system backend as a super administrator, click [Module]-[Auxiliary Plug-in]-[Advertising Management] to enter the advertising management page ; (Recommended learning: dedecms tutorial)
2. Click "Add a new ad" to add an ad. Here we enter the page to add advertising positions, and the following information needs to be filled in:
Advertising space identification: a unique identification used to distinguish different advertising spaces, and English or numerical identification is required
For example: topbanner, toptext, indexmidad1, indexmind2, etc.
·Advertising scope: Select the column where the corresponding advertisement is placed. If the specified advertising logo content cannot be found in the selected column, the system will automatically search the parent column
·Advertising slot name: Chinese name used to manage advertisements, for example: topbanner top banner advertisement
·Time limit: set the advertisement expiration time by yourself
·Display method: advertisement Display forms include HTML code, text links, pictures and Flash
·Advertising content: fill in different advertising content according to different display methods selected
·Expired display content: If set The validity period of the advertisement has been determined. The content displayed after expiration is
3. After the advertisement is added, submit and confirm to save the advertisement information. The system will jump to the advertisement management page. On the management page We can view the ad number, ad name, delivery range, and ad code.
The following is the quoted content:
Advertising codes are divided into 2 types:
DedeCMS tag form, In JS format, if your website advertisements frequently (regularly) update the entire site's html, you can use the tag format advertising code {dede:myad name='topbanner'/} to add it to the website template.
If you do not frequently update the site-wide html, it is recommended to use js form of advertising code:
<script src='http://www.dedecms.com/plus/ad_js.php?aid=1' language='javascript'></script><br/>
4.Add the advertising tag code to the corresponding template Then generate the corresponding html file.
The above is the detailed content of Advertising management functions of DedeCMS. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

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

Hot Article

Hot Tools

Dreamweaver CS6
Visual web development tools

SublimeText3 Linux new version
SublimeText3 Linux latest version

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Atom editor mac version download
The most popular open source editor
