drupal / mutamad_news
News, announcements and circulars for Mutamad: dated, by topic and audience, with attachments, drafted by an editor and approved by another person, in Arabic and English, listed at /news with filters. Aligned to NCA ECC-2:2024 1-3-1.
Package info
git.drupalcode.org/project/mutamad_news.git
Type:drupal-recipe
pkg:composer/drupal/mutamad_news
Requires
- drupal/core: ~11.4.0
- drupal/mutamad_content_base: ~1.0.0
- drupal/schema_metatag: ^3.0
- drupal/tagify: ^1.2
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-16 06:52:41 UTC
README
Mutamad News
The News content type (news) and the News page: news, announcements
and circulars. A drupal-recipe, applied by
mutamad_starter.
Built and maintained by iSpectra — Imagine. Implement. Inspire. See iSpectra on drupal.org.
What it sets up
- News, with its form in three tabs:
- Basic information: language, title, Date (the day it is announced, today by default; lists are ordered by it), Type — News, Announcement or Circular — Body, a Featured image and Attachments (documents; each language can have its own);
- Classification: Topics and Audiences (from Mutamad Content Base), Tags — free labels, typed or picked, from core's Tags vocabulary; of Mutamad's content types, only news has them — and Related content;
- SEO: as on the Basic page, the SEO description required.
- The News page,
/news: published news in the page's language, newest first, twelve to a page, filtered by type and topic. - The list page,
/news, in the XML sitemap: the view marks it for Simple XML Sitemap Views, whichmutamad_seoinstalls. - Each item at
/news/<its title>, in the sitemap, with the Basic page's meta tags. - A Canvas content template for the full page: date and type, featured image, body, attachments, topics and related content. The site administrator changes it in Canvas; editors only write.
- The Mutamad workflow, and Arabic and English translation.
Who does what
| Role | News |
|---|---|
| Content Editor | Creates and edits news; submits it for review |
| Content Reviewer | The same, publishes it — never their own — and deletes it |
| App Admin (IT) | The template (in Canvas) and the News page; writes no content |
Tagify's library
The Tags field uses Tagify. The Tagify module loads its library from cdnjs
unless the library is under web/libraries/tagify, and Mutamad's Content
Security Policy blocks cdnjs: without the library, Tags is a plain text box.
The Mutamad project template
installs it. Another project adds the package repository from the Tagify
module's README to its root composer.json and requires yaireo/tagify.
Requirements
Mutamad Content Base and core's Tags recipe, which the recipe applies first; Tagify comes with it through Composer.
Apply it to an existing site
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_news 'drupal/canvas_translate:^1.0@alpha'
Then:
drush recipe ../recipes/mutamad_news
Licence
GPL-2.0-or-later.
Maintainers
Built and maintained by iSpectra (on drupal.org).
