Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
Dedecms self-study Tutorial 9: Dream CMS Default Style "popular search" changed to text ads, picture ads. The other section of this series self-study tutorial read address: www.dedecms8.com/dedecms/dedecms-ad/. Dream CMS default style with the "Hot search", automatic extraction of popular tag, and with links, is a good feature. But by contrast, it seems to be more of a taste to advertise here. Today we say, how to change this to advertising.
Figure Dedecms Self-study tutorial 9-1
1, backstage-module-auxiliary plug-ins-Advertising management-Add a new ad, in the open AD editing page, do the following processing:
Figure Dedecms Self-study tutorial 9-2
2, add the advertising code, click OK to save. Then in the AD management list to find just added "hot tag" ads, click the corresponding "code", generate Ads JS output code.
Figure Dedecms Self-study tutorial 9-3
Figure Dedecms Self-study tutorial 9-4
3, open templets/default/head.htm, search "<div class=" Tags ">", will find the following code:
Figure Dedecms Self-study tutorial 9-5
Modified to:
Figure Dedecms Self-study tutorial 9-6
Modify the Save, update the Web site. Note that head2.htm should also make similar changes.
4, how to change to picture ads? Here, we take the picture ad.jpg as an example, the picture is uploaded to the site root directory. Of course, you can also put in other directories, as long as the image path in the advertising code is correct. Replace the advertisement in Figure 2 above with the following image ad code:
Figure Dedecms Self-study tutorial 9-7
Then submit, repeat the 2nd step again, update the AD. Next, refresh the homepage of the website can see the effect of the picture advertisement.
Figure Dedecms Self-study tutorial 9-8
Reprint please specify the source: Dream of Weaving (DedeCMS8), thank you for your cooperation. Welcome to add DEDECMS8-QQ Group: 63671447 Exchange Learning.