b2evolution b2evolution

  • Sign in
  • Sign up
  • About
  • Downloads
  • Hosting
  • Docs
  • Support
  • Sign in
  • Sign up
  • Manuals Home
  • Latest Updates
 
  1. b2evolution CMS User Manual
  2. Back-office Reference
  3. Collections
  4. Contents
  5. Short Tags Reference
  6. [poll:] Short Tag

[poll:] Short Tag

Built-in Feature

This short tag allows the display of the Poll Widget within the content of any post/article/page.

This tag will be rendered by the Polls Plugin renderer (if it is configured to do so).

Note: [poll:] renders a widget "Poll Widget" (<div class="evo_widget widget widget_core_poll">...</div>) and cannot appear inside a paragraph. (b2evolution will automatically move it out of the paragraph).

Syntax Breakdown

[poll: Poll ID [ : Custom Title ] [ : Custom Question ] ]

  • Poll ID: ID of the poll to display.
  • Custom Title: Optional title to use instead of the default title. Use a dash - to prevent the display of the title.
  • Custom Question: Optional poll question to display instead of the question from DB. Use a dash - to prevent the display of the poll question.

Samples

  • [poll:123] - Display a widget "Poll" with poll ID #123
  • [poll:123:Panel Title] - Use custom panel title instead of default
  • [poll:123:-] - No title and panel are displayed at all
  • [poll:123:Panel Title:Question message?] - Custom title + Replace poll question from DB with custom question text
  • [poll:123:Panel Title:-] - Custom title + Hide question
  • [poll:123:-:-] - Hide title + Hide question
Tags: 7.0.2
Created by winskie • Last edit by yurabakhtin on 2019-12-27 17:42 • •

No feedback yet

On this page

  • Built-in Feature
  • Syntax Breakdown
  • Samples

Search the Manual

Content Hierarchy

  • b2evolution CMS User Manual
  • User's Guide
  • Installation / Upgrade
  • Front-office Reference
  • Back-office Reference
    • Site
    • Collections
      • Collection Dashboard
      • Contents
        • Post Browsing Screens
        • Post Edit Screen
        • Short Tags Reference
          • Helper CSS Classes
          • Custom Fields Short Tags
          • [audio:]
          • [cblock:]
          • [div:]
          • [emailcapture:]
          • [file:]
          • [image:]
          • [include:]
          • [inline:]
          • [pagebreak]
          • [poll:]
          • [subscribe:]
          • [switcher:]
          • [teaserbreak]
          • [thumbnail:]
          • [video:]
        • Post Concepts
        • Mass Edit
        • Mass Post Contents
        • Other post actions
        • Renderers Reference
      • Comments
      • Categories
      • Features
      • Skins
      • Widgets
      • Settings
      • Creating a new collection
    • Files
    • Analytics
    • Users
    • Messages
    • Emails
    • System
    • Working with Results Tables
  • Developer Reference
  • Operations Reference
  • Advanced Topics
  • Glossary
  • Archives
Content Mangement System

This online manual is powered by b2evolution CMS – A complete engine for your website.

About b2evolution

  • What is it?
  • Features
  • Getting Started
  • Screenshots
  • Online demo
  • Testimonials
  • Design philosophy
  • Free & open source
  • Terms of service

Downloads

  • Latest releases
  • Skins
  • Plugins
  • Language packs

About us

  • About us
  • Contact

Webhosting Guide

  • Web hosting blog
  • Best web hosting
  • Cheap web hosting
  • Green web hosting
  • Hosting with SSH
  • VPS hosting
  • Dedicated servers
  • Reseller hosting
  • Int'l: UK / France

Docs & Support

  • Online manual
  • Forums
  • Hire a pro !

Other

  • Adsense
  • Press room
  • Privacy policy

Stay in touch

  • GitHub
  • Twitter
  • Facebook
  • LinkedIn
  • News blog
  • RSS feed
  • Atom feed

Founded & Maintained by François Planque