getgrav / getgrav/grav-plugin-comments

getting comments set up, where is "forms/fields"?

Open
#102 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
54
Forks
26
PR merge metrics
No merged PRs in 30d

Description

Hi trying out Grav atm. looking good and is taking some getting used to when coming from wordpress :)

I'm running Grav 1.7.13 with Form v5.1.0 and comments v1.2.8, email v3.1.3. With Mediator v1.5.1 theme. PHP Version 7.4.16

Trying to get comments to work.

I have added {% include 'partials/comments.html.twig' with {'page': page} %} to my post.html.twig where I would like the comment section.

I don't see the comment section showing and when looking into the "comments.html.twig" I see calls for "forms/fields/#{field.type}/#{field.type}.html.twig". Same goes for the comment.yaml file - "body: "{% include 'forms/data.html.twig' %}"".

I don't find a folder within my grav installation called forms with a fields subfolder.

I'm a wee bit confused.

I'm hoping you could point/nudge me in the correct direction, been going around in a few circles here :)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading partials/comments.html.twig and comment.yaml, then trace the referenced forms/fields and forms/data.html.twig paths in the Grav 1.7.13, Form 5.1.0, and Comments 1.2.8 setup. Document where these templates come from and the required setup for displaying the comment section in post.html.twig.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.