2017 © Pedro Peláez
 

symfony-bundle feedback-bundle

Feedback bundle for Symfony 2

image

activpik/feedback-bundle

Feedback bundle for Symfony 2

  • Wednesday, August 21, 2013
  • by ludovic-bouguerra
  • Repository
  • 3 Watchers
  • 1 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Symfony 2 Feedbackbundle

Improvements for futures revisions : - Unit tests - Embedded controller in twig views to simplify integration., (*1)

Get FeedbackBundle with composer Add this dependency "activpik/feedback-bundle": "dev-trunk", (*2)

On your AppKernel.php file add : new Activpik\Feedback\ActivpikFeedbackBundle(),, (*3)

On your config.yml file you can add
In services section :, (*4)

services:
    activpik.feedback_source:
        class:        Activpik\FeedbackBundle\Vendor\RedmineFeedback\RedmineFeedbackSource
        arguments:    ["https://urltoredmine/redmine/projects/myproject/issues.json", "ApiKey", "projectId", Priority]

and on your routing.yml file :, (*5)

ActivpikFeedbackBundle:
     resource: "@ActivpikFeedbackBundle/Controller/" 
     type:     annotation
     prefix:   /

On the controllers using feedback badge :, (*6)

$feedbackType = new FeedbackType();
$data["feedback_type"] = $this->createForm($feedbackType)->createView();
use Activpik\FeedbackBundle\Form\FeedbackType;

On twig view Add :, (*7)

<link rel="stylesheet" href="{{ asset('bundles/activpikfeedback/css/feedback.css') }}" />    
<script type="text/javascript" href="{{ asset('bundles/activpikfeedback/js/feedback.js') }}" ></script>

and, (*8)

{% include 'ActivpikFeedbackBundle:Feedback:badge.html.twig' %}

The Versions

21/08 2013

dev-master

9999999-dev

Feedback bundle for Symfony 2

  Sources   Download

commercial

The Requires

 

by Ludovic Bouguerra

bundle feedback