Search the Community
Showing results for tags 'comments module'.
Hi all, I duplicated the FieldtypeComments module by adding it in site/modules to get the Uikit3 html output. Problem: I can't post a comment. Where am I doing wrong? <?php echo $page->commenti->renderForm(); ?>
Hi, I am trying to style the comments form (and comments list) to match the rest of the site. I know that it's possible to edit the CSS file for the comments module, but I would rather add my existing classes to the fields, instead of making another css file containing the same CSS styling. I use the following to render the form: $page->comments->renderForm(); Is there an easy way to add the CSS classed to the fields? //Jasper
Hi, I'm using Processwire for a while now and I'm starting to love it more and more. I recently installed 3.x. Today I installed the native comments module but it seems that the table 'field_comment' was not created in the database. I retried to install it but without any luck. I get error messages and when I check phpMyAdmin, I can confirm that it's not there. Here is the complete error message when I try to use the form on the front end of a page: Error: Exception: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'domain_db.field_comment' doesn't exist (in /home/domain/domains/domain.nl/public_html/wire/modules/Fieldtype/FieldtypeComments/FieldtypeComments.module line 358) #0 /home/domain/domains/domain.nl/public_html/wire/modules/Fieldtype/FieldtypeComments/FieldtypeComments.module(358): PDOStatement->execute() #1 /home/domain/domains/domain.nl/public_html/wire/modules/Fieldtype/FieldtypeComments/FieldtypeComments.module(338): ProcessWire\FieldtypeComments->commentMaintenance(Object(ProcessWire\Field)) #2 /home/domain/domains/domain.nl/public_html/wire/modules/Fieldtype/FieldtypeComments/FieldtypeComments.module(183): ProcessWire\FieldtypeComments->checkNewComment(Object(ProcessWire\Page), Object(ProcessWire\Field), Object(ProcessWire\Comment)) #3 [internal function]: ProcessWire\FieldtypeComments->___sleepValue(Object(ProcessWire\Page), Object(ProcessWire\Field), Object(ProcessWire\Com This error message was shown because: you are logged in as a Superuser. Error has been logged. And this is what I get when I go to the Fieldtype that I created for comment: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'domain_db.field_comment' doesn't exist (getNumRows) I didn't start with a normal installation. Instead I used clsource's Ghost Clone. But I doubt that has anything to do with the errors. Hope someone will be able to shed some light onto this. Thanks in advance