2017 © Pedro Peláez
 

thelia-module admin-comment-module

image

thelia/admin-comment-module

  • Thursday, September 1, 2016
  • by thelia
  • Repository
  • 6 Watchers
  • 0 Stars
  • 52 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 4 % Grown

The README.md

Admin Comment

This module allows you to add comments on each part of the back office : categories, products, folders, contents, orders, customers and coupons. These comments are not visible for customers., (*1)

Installation

Manually

  • Copy the module into <thelia_root>/local/modules/ directory and be sure that the name of the module is AdminComment.
  • Activate it in your thelia administration panel

Composer

Add it in your main thelia composer.json file, (*2)

composer require thelia/admin-comment-module ~1.1.0

configuration

no special configurations needed. just set the permissions for administrators., (*3)

Loop

Get the comment by loop, (*4)

Input arguments

Argument Description
id The id of comment
element_key The key of commented element
element_id The id of commented element

Ouput arguments

Variable Description
$ID the comment ID
$ADMIN_ID Author id
$ADMIN_NAME Author name
$COMMENT The message
$ELEMENT_KEY The key of commented element
$ELEMENT_ID The id of commented element
$CREATED_AT Comment creation date
$UPDATED_AT Comment update date

Changelog

1.1.1

  • Add loop for admin comment

1.1.0

  • Add tab in edit page with comment counter in tab title
  • Add comment counter in order list

1.0.1

  • Fixed module activation
  • Removed JS dependency to missing bootbox lib

The Versions

01/09 2016

dev-master

9999999-dev

  Sources   Download

LGPL-3.0+

The Requires

 

01/09 2016

1.0.1

1.0.1.0

  Sources   Download

LGPL-3.0+

The Requires

 

26/02 2015

1.0

1.0.0.0

  Sources   Download

LGPL-3.0+

The Requires