autosuggest_site_improvements
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.