Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[!!!][TASK] Use TYPO3 Form Framework for comment form #78

Merged
merged 1 commit into from
May 13, 2019

Conversation

benjaminkott
Copy link
Member

@benjaminkott benjaminkott commented May 12, 2019

The required form markup can vary a lot depending on the
frontend implementation of the instance. To ease the
blog integration in all kinds of frontends we decided to
make use of the form framework of TYPO3.

By using the form framework the blog will automatically
respect the already configured forms of the typo3 instance.
This will remove the necessity to provide custom form
templates for the comment form of the blog extension.
This will also mean, that's no longer possible to adjust
the comment form directly, since this is now generated
through the form framework API.

During the migration, it was noticed that the google captcha
implementation is currently only compatible with v2, this
was added to the label for now to avoid configuration
confusions while generating API Keys at google.

Adjusted Tempaltes:

  • Templates/Comment/Form.html

New Templates:

  • Partials/Comments/Form/Closed.html
  • Partials/Comments/Form/Disqus.html
  • Partials/Comments/Form/Local.html
  • Partials/Form/GoogleCaptcha.html

Release: master

@benjaminkott benjaminkott changed the title [WIP][TASK] Use Formframework for comment form [WIP][TASK] Use FormFramework for Comment Form May 12, 2019
@benjaminkott benjaminkott force-pushed the task/use-formframework-forcomments branch 2 times, most recently from 185aaa5 to 4ddd140 Compare May 13, 2019 09:27
The required form markup can vary a lot depending on the
frontend implementation of the instance. To ease the
blog integration in all kinds of frontends we decided to
make use of the form framework of TYPO3.

By using the form framework the blog will automaticly
respect the already configured forms of the typo3 instance.
This will remove the nesessity to provide custom form
tempates for the comment form of the blog extension.
This will also mean, thats its no longer possible to adjust
the comment form directly, since this is now generated
through the form framework API.

During the mgration it was noticed that the google captcha
implementation is currently only compatible with v2, this
was added to the label for now to avoid configuration
confusions while generating API Keys at google.

Adjusted Tempaltes:
* Templates/Comment/Form.html

New Templates:
* Partials/Comments/Form/Closed.html
* Partials/Comments/Form/Disqus.html
* Partials/Comments/Form/Local.html
* Partials/Form/GoogleCaptcha.html

Release: master
@benjaminkott benjaminkott force-pushed the task/use-formframework-forcomments branch from 4ddd140 to b5ace4b Compare May 13, 2019 09:49
@benjaminkott benjaminkott changed the title [WIP][TASK] Use FormFramework for Comment Form [!!!][TASK] Use TYPO3 Form Framework for comment form May 13, 2019
@benjaminkott benjaminkott marked this pull request as ready for review May 13, 2019 19:48
@benjaminkott benjaminkott merged commit 407a2af into master May 13, 2019
@benjaminkott benjaminkott deleted the task/use-formframework-forcomments branch May 13, 2019 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant