No description, website, or topics provided.
PHP Smarty JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
poll
README.md

README.md

Plugin Poll for Fansoro CMS

version DLE MIT License

Add simple polls on your website, plugin for Fansoro CMS.

Demo

Install & Configuration

See this instruction

Configuration

Create template and md file

Md file:

// md file example
---
title: Poll
description: Poll example
template: poll
---

Tpl file:

// tpl example file for default theme
// You need write unique id for any poll
// {Poll(id,question,answer1,answer2)}
{extends 'partials/base.tpl'}
{block 'content'}
	<div class="container">
	    {$content}
	    {Poll(1,'Do you like Fansoro?')}
	    {Poll(2,'Are you Developer?')}
	    {Poll(3,'Which editor you think is better?','Sublime Text','Atom Editor')}
	    {Poll(4,'You are using lately Fansoro CMS for your projects??')}
	</div>
{/block}

License

MIT