Giter VIP home page Giter VIP logo

sensorario-module-comment's Introduction

An'ajax way to comment everything you want in your yii applications.

##Requirements

Yii 1.1 or above

##Install

First of all, create sensorario_comments table:

CREATE TABLE IF NOT EXISTS `sensorario_comments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `semantic_id` varchar(50) NOT NULL,
  `datetime` datetime NOT NULL,
  `user` varchar(50) NOT NULL,
  `comment` text NOT NULL,
  PRIMARY KEY (`id`)
);

Second, add module SensorarioModuleComment in your config file.

#Install using github

To add sensorario-module-comment using github, move to protected/modules folder (and create it if not exists), then use this command:

$ git clone [email protected]:sensorario/sensorario-module-comment

##Usage

When at any point of your website you want to bring up a series of comments, use this widget and indicates a semantic id that defines the thread of comments.

<?php $this->widget('SensorarioModuleComment.CommentLoader', array('semanticId' => 'SEMANTIC_ID_OF_YOUR_COMMENT')); ?>

##Change Log

###v1.1 (???????? ????, ????)

Enhancements:

  • As user I want to delete my comments. [fixed #1]
  • Improve fields name. [fixed #5]

BugFixes:

  • Fix installation. [fixed #8]
  • Fixed name of repository in readme file. [fixed #9]
  • The table "sensorario_comments" for active record class "SensorarioComments" cannot be found in the database. [fixed #6]

###v1.0 (December 16th, 2012)

  • created extension

sensorario-module-comment's People

Contributors

sensorario avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.