Home  >  Article  >  CMS Tutorial  >  Advertising management functions of DedeCMS

Advertising management functions of DedeCMS

(*-*)浩
(*-*)浩Original
2019-11-13 14:29:272128browse

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.

Advertising management functions of DedeCMS

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)

Advertising management functions of DedeCMS

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

Advertising management functions of DedeCMS

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=&#39;http://www.dedecms.com/plus/ad_js.php?aid=1&#39; language=&#39;javascript&#39;></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!

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