Destoon: the method of advertising specified members or member groups in a member shop.
This article describes how to use destoon to advertise a specified member or member group in a member shop. It is of great practical value for destoon development. For your reference, use the following methods:
1. Specify member attributes to serve ads
If you want to display ads in the same location, you can add the following content to the side.htm file in the template folder template \ default \ homepage:
{If $ COM [vip]} {else} displays AD (you can call the call method in website Advertisement Management) {/if}
Explanation: The above code means that VIP does not display advertisements, while other members do, which can reflect the advantages of VIP and is worthy of application.
2. designate a member group to serve ads
The implementation code is as follows:
{If $ COM [groupid] ==x} {else} displays AD (you can call the call method in website Advertisement Management) {/if}
I hope this method will be helpful for destoon development.
How do I set the member group icon corresponding to the destoon member group?
Different icons are displayed in different member groups. On the demonstration site: Jiangxi Nankang online furniture city, locate the tagfolder under the template folder, find list-company.htmand list-com.htm, and modify the corresponding Code. The Code is as follows: {if $ t [groupid] = "7"} {/ if} {if $ t [groupid] = "8"} {/ if} {if $ t [groupid] = "9"} {/ if}
How does destoon call the member group name?
If the name is "exhibitor", you can write "exhibitor" directly...