Destoon: the method of advertising specified members or member groups in a member shop.

Source: Internet
Author: User

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...
 

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.