Git Product home page Git Product logo

comment's People

Contributors

bcbrr avatar bibich avatar julescournut avatar kira-kyuukyoku avatar lopes-vincent avatar lunika avatar mespeche avatar roadster31 avatar zzuutt avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

comment's Issues

Routing problem - duplicate ID

Two routing have the same ID:

<route id="admin.comment.comments.activation" path="/admin/module/comment/activation/{ref}/{refId}" methods="post">
        <default key="_controller">Comment\Controller\Back\CommentController::activationAction</default>
        <requirement key="ref">.*</requirement>
        <requirement key="refId">\d+</requirement>
    </route>

    <route id="admin.comment.comments.activation" path="/admin/module/comment/request-customer">
        <default key="_controller">Comment\Controller\Back\CommentController::requestCustomerCommentAction</default>
    </route>

the first one - Comments activation for product doesn't work

Email notification

It can be very useful to get notified by email when a new comment is posted.

probleme css id class content

La class content est déja définie et c'est d'ailleurs curieux car dans le template sur layout.tpl,
il y a <div id="content"> alors que c'est une class.

Enfin bon du coup il y a un "conflit" entre les 2, et il ne faudrait pas dire id= mais class=,
non ?

balisage schema rating

Le module n'a pas de balisage, voila ce que j'ai ajouté à la ligne 113 de comment.html,
peut être que c'est pas très joli et qu'il y a mieux à faire,
en espérant que ça serve.

Dsl je suis pas à l'aise avec github pour faire des PR, et je sais pas mettre en forme le code alors c'est un peu difficile à lire.

<div id="comment-body" class="comment-body"> <div class="well well-sm"> {intl d="comment.fo.default" l="Comments"} {if $definition->hasRating()} {$rating={meta meta="COMMENT_RATING" key="{$definition->getRef()}" id="{$definition->getRefId()}"}} {if $rating} <span class="pull-right"> {intl d="comment.fo.default" l="rating:"} {comment_stars value=$rating} </span> <div itemprop="aggregateRating" itemscope itemtype="https://schema.org/AggregateRating"> <meta itemprop="ratingValue" content="{$rating}" /> <span itemprop="reviewCount">{count type="comment" ref="{$ref}" ref_id="{$ref_id}" status="1" }</span> </div> {loop name="comments-review" type="comment" ref="{$ref}" ref_id="{$ref_id}" status="1" } <span itemscope itemtype="http://schema.org/Review"> <span itemprop="itemReviewed" itemscope itemtype="http://schema.org/Thing"></span> <span itemprop="author" itemscope itemtype="http://schema.org/Person"> <meta itemprop="name" content="{customer attr="firstname"}{customer attr="lastname"}" /> </span> <meta itemprop="reviewBody" content="{$CONTENT}" /> <span itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating"> <meta itemprop="ratingValue" content="{$RATING}" /><meta itemprop="bestRating" content="5" /> </span> </span> {/loop} {/if} {/if} </div> </div>

Comment star

{comment_stars} should be a smarty helper to be usable everywhere on a page.

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.