Cakephp Polls Plugin

Cakephp Polls Plugin

on github

https://github.com/amdmaher/Cakephp-Polls-Plugin

Cakephp Polls Plugin , Multi Poll

Activation instructions

just add the plugin folder to app/plugin

and load the plugin in app/Config/bootstrap.php

CakePlugin::load(‘Polls’);

create the schema

$ Console/cake schema create

from the plugin schema file

you can add polls and polls options throught the admin link

yourapp/admin/polls

now You can use multi Poll plugin

by calling the poll element anywhere

<?php echo $this->element(‘Polls.vote’,array(‘model’ => ‘how2’)); ?>

where the model is the name of poll

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s