DEDECMS Global Tag Module tag myad| ad tags

Source: Internet
Author: User
Keywords DEDECMS advertising tags module tags global labels

myad| Advertising Label

Label name: Myad
Function Description: Get Advertising Code
Scope of application: global use
Basic syntax:
{Dede:myad http://www.aliyun.com/zixun/aggregation/11696.html ' >name= '/}
Related functions:
File \include\taglib\myad.lib.php Line 6th
Function Lib_myad (& $ctag, & $REFOBJ)
Parameter description:
Typeid= ' 0 ' launch range, 0 for the whole station
Name= ' Advertising logo
Note: It is recommended to get it in the advertising management module.
Usages:
We log in as a Super administrator in the system background, in the [Module]-[Auxiliary plug-ins] See "Advertising management", where this option is not required to install in the module management.
The system defaults to bring an example of an ad management, we see the first ad in the management page tag code for {Dede:myad name= ' Topbanner '/}, of course, we can also get the ads through the JS tag.
If you use the Dream label as an advertising tag to add to the template page, the system backstage can control the display of different columns, of course, advertising updates need every time to regenerate all the pages, if convenient global 8206.html "> Real-time updates, you can use JS way."
We can see this tag in the \templets\default\head.htm template page, which is also the part of the default template that shows the first page banner, if you need to remove the tag directly in the template page, you can also delete the relevant content in the system background.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.