Search by

drupal / mutamad_e_consultations

Drupal-Infrastructure

Public consultations for Mutamad, after DGA's e-Participation Template: a draft open for comment between two dates, a comment form that opens and closes with the period or a link to the Public Consultation Platform (Istitlaa), and the results; listed at /e-consultations, drafted by an editor and app

Package info

git.drupalcode.org/project/mutamad_e_consultations.git

Homepage

Issues

Type:drupal-recipe

pkg:composer/drupal/mutamad_e_consultations

Statistics

Installs: 61

Dependents: 1

Suggesters: 0

1.0.x-dev 2026-11-12 17:41 UTC

This package is not auto-updated.

Last update: 2026-11-16 05:59:15 UTC


README

Mutamad e-Consultations — الاستشارات الإلكترونية

Mutamad e-Consultations

The e-Consultation content type (consultation), its comment form and lists, after DGA's e-Participation Template (Platforms Code): a draft regulation, policy or decision open for public comment between two dates. A drupal-recipe for Mutamad. It is optional: the site template does not apply it.

Built and maintained by iSpectra — Imagine. Implement. Inspire. See iSpectra on drupal.org.

What it sets up

  • e-Consultation, with its form in four tabs:
    • Basic information: language, title, Summary (required), Consultation period (required: the first and last days), Documents, On the Public Consultation Platform (Istitlaa's address, when it is published there) and Featured image;
    • Results: what the comments said and what the entity decided;
    • Classification: Topics and Audiences;
    • SEO: as on the Basic page, the SEO description required.
  • The comment form on every consultation: the comment, a PDF, an optional name and email, ALTCHA. No IP address is kept; each comment records its consultation. It opens and closes with the period by itself: an ECA rule sets its schedule whenever the consultation is saved, so editors enter the dates once.
  • On Istitlaa instead: when a consultation has its address on the Public Consultation Platform, visitors get a button to comment there and no form here.
  • Who reads comments: the site administrator, and the content approver who writes the results. Not editors, not the public.
  • The lists: /e-consultations (open and upcoming, the soonest to close first) and /e-consultations/closed (the latest closed first), as cards with search and topic and audience filters. The Mutamad theme marks each one Upcoming, Open for comments or Closed.
  • The list pages, /e-consultations and /e-consultations/closed, in the XML sitemap: the view marks them for Simple XML Sitemap Views, which mutamad_seo installs.
  • Each consultation at /e-consultations/<its title>, in the sitemap, with the Basic page's meta tags, laid out by a Canvas content template.
  • The Mutamad workflow, and Arabic and English translation.

Who does what

Rolee-Consultation
Content EditorCreates and edits consultations; submits them for review
Content ReviewerThe same, publishes them — never their own — deletes them, reads the comments and writes the results
App Admin (IT)Reads the comments; the template (in Canvas) and the lists; writes no content

Requirements

Mutamad Content Base and Mutamad Forms, which the recipe applies first.

Enable it

Mutamad includes it, but does not apply it: a site that needs it applies it once.

On a site not started from the Mutamad project template, add it with Composer first. Composer accepts an alpha only if the site's own composer.json allows it, so the command allows Canvas Translate, which this project needs and which has no stable release:

composer require drupal/mutamad_e_consultations \
  'drupal/canvas_translate:^1.0@alpha'
  • From the administration pages, where Project Browser is enabled: Extend → Browse projects → Recipes (/admin/modules/browse/recipes), search for "Mutamad e-Consultations", then Install.
  • With Drush, which names a recipe by its path from the web root (web/):

    drush recipe ../recipes/mutamad_e_consultations
    drush cr
    

Licence

GPL-2.0-or-later.

Maintainers

iSpectra

Built and maintained by iSpectra (on drupal.org).