Autosuggest Site Improvements
This module provides a user-friendly form for site visitors to submit improvement suggestions. Suggestions are saved as content, with an autocomplete feature for categorizing them, and an administration interface allows for managing these submissions.
Features
A block with an AJAX-powered form to submit site improvement suggestions.
Autocomplete taxonomy term field for categories.
Suggestions saved as nodes of a custom content type site_improvement.
An admin content listing page for managing suggestions.
Basic user-friendly messaging.
Instructions
This assumes you have already created the content type site_improvement with fields:
Title (default)
Body (long text)
field_category (taxonomy term reference, vocab: site_improvement_categories)
field_submitter_email (email, optional)
You also created taxonomy vocabulary site_improvement_categories and added some terms.
Getting started
Frontend block with AJAX-enabled suggestion form:
Fields: Suggestion text, category (autosuggest), email (optional).
Autosuggest/autocomplete field for categories/tags (using taxonomy terms).
Submissions saved as custom entities or content types (node or custom entity).
Admin UI for managing suggestions: View, moderate, and respond.
Post-Installation
Instructions:
This assumes you have already created the content type site_improvement with fields:
Title (default)
Body (long text)
field_category (taxonomy term reference, vocab: site_improvement_categories)
field_submitter_email (email, optional)
You also created taxonomy vocabulary site_improvement_categories and added some terms.
Settings
Create Content type "Site Improvement" Manually
Add fields:
body (long text)
field_category (term reference, vocab: site_improvement_categories)
field_submitter_email (email, optional)
- Enable module and place block
Enable module:
drush en autosuggest_site_improvements -y
drush cr
- Place the block "Site Improvement Suggestion Form" in your theme’s sidebar/footer or where desired.
- Create taxonomy vocab site_improvement_categories and add terms.
- Configure permissions to allow anonymous or authenticated users to submit.