Giter Site home page Giter Site logo

Comments (6)

ihorchepurnyi avatar ihorchepurnyi commented on May 27, 2024

Здравствуйте, попробуйте убрать maxLevel и этот код

'pagination' => [
     'pageSize' => 10
],

from yii2-comments.

A1exeyDunin avatar A1exeyDunin commented on May 27, 2024

Я убрал что вы сказали, но изменений не последовало. Потом я подумал что может у комментов статус не соответствует, но все они были approver. Поставив одному коменту в ветке статус pending, все коменты отобразились. Так же и на другой странице, убрав комменты из веток, все отобразилось. Но стоит добавить коммент в ветку (reply) и обновить страницу, как добавленные комменты перестают показываться, хотя если продолжать ветку, то в ней все хорошо.

from yii2-comments.

ihorchepurnyi avatar ihorchepurnyi commented on May 27, 2024

Сейчас проверю.

from yii2-comments.

ihorchepurnyi avatar ihorchepurnyi commented on May 27, 2024

http://awesomescreenshot.com/06968bnre0

Вроде все работает, окружение следующее

  • php 7.1
  • apache
  • mysql 5.7

Настройки виджета следующие:

[
        'model' => $model,
        'relatedTo' => 'cms page: ' . $model->url,
],

from yii2-comments.

ihorchepurnyi avatar ihorchepurnyi commented on May 27, 2024

Стоит отметить, если вы ставите комментарию статус например pending, то всем дочерним комментариям тоже самое ставиться статус pending и они не будут отображаться в ленте комментариев.

from yii2-comments.

A1exeyDunin avatar A1exeyDunin commented on May 27, 2024

Эх. Попробовал переустановить, не помогло. Сделал одноуровневые комменты. В моем случае их хватит.

from yii2-comments.

Related Issues (20)

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.