Ecshop AD call ad bit add to top of homepage Banner tutorial
Ecshop Tutorial/Ecshop Tutorial Net (www.ecshop119.com) 2012-05-26
Ecshop system default reserved ad bit very few, how can you add the ad bit you want on the homepage or other page?? Let's talk about the method below.
The following is an example of "adding a banner ad at the top of the Ecshop homepage".
In addition: this example is based on the official default template ECSHOP2.7.2, other templates and other pages the same principle.
1th Step:
Go to Ecshop backstage "AD management" ad location, click on the "Add AD bit" button.
Ad bit name Input "first page head banner ad bit",
Ad bit width input "960"
Ad bit height input "100" .....
Point "OK".
2nd step: Then go to "ad list", click "Add Ads" button,
Note that the ad Location drop-down box selects the ad position that was added in the 1th step, that is, "Home header banner ad bit [960x100]".
Upload an ad image and click OK.
3rd Step: Open the homepage template file index.dwt
Locate the following code
<!--#BeginLibraryItem "/library/page_header.lbi"--><!--#EndLibraryItem--
Add a few lines of code below it
<div style= "width:960px;margin:5px auto;padding:0 auto;" >
<!--templatebegineditable name= "Home header Banner ad bit (w: 960px)"-
<!--templateendeditable--
</div>
4th step: Go Backstage "template Management" settings template, select the homepage template.
Find "ad bit" at the bottom, click "+" to expand,
In the first drop-down box, select "Home Header Banner (width: 960px)"
In the second drop-down box, select "Home header banner [960x100]"
Click "OK", save and then go to the homepage to see if the banner ads have been shown out
Ecshop AD call ad bit add to top of homepage Banner tutorial