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.