DEDECMS Global Tag module tag vote| voting label

Source: Internet
Author: User
Keywords Dedecms voting label module tag global label

vote| Voting label

Label name: Vote
Introduction to Tags:
Function Description: Used to get a group of voting forms
Scope of application: global use
Basic syntax:
{dede:vote id= ' lineheight= ' tablewidth= ' 100% ' titlebgcolor= ' #Ehttp://www.aliyun.com/zixun/aggregation/16485. html ' >dede2 ' titlebackground= ' tablebgcolor= ' #FFFFFF '/}
Related functions:
File \include\taglib\vote.lib.php line 6th and 7
Require_once (dedeinc.) /dedevote.class.php ');
Function lib_softmsg (& $ctag,& $REFOBJ)
Parameter description:
Id= ' number, current voting ID
lineheight= ' 24 ' table height
Tablewidth= ' 100% ' table width
Titlebgcolor= ' #EDEDE2 ' voting title background color
Titlebackground= '
TABLEBG = ' voting form background color
Note: In order to make it easier to modify the style, it is recommended that in the background-> auxiliary plug-ins-> vote management, directly copy the generated HTML code to use
Usages:
Enter system backstage, click [Module]-[Auxiliary plugin], click "Voting module", if not this module, need to install it in module management.

The system defaults to a voting instance, and we can click to get the code and preview the effect by submitting the test.
We have also included this voting instance in the default template on the home page of the system, and can view the source file \templets\default\index.htm, which has the voting instance code in about 209 lines.
When we create a new poll, we only need to create it in the background of the system and generate the appropriate voting code to insert it into the template page. Voting markers scopes are global all Site page content, so they can also be stored in index_*.htm, article_*.htm templates.

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.