Coder Social home page Coder Social logo

openfed8's Introduction

Openfed

OpenFed is a general-purpose, multilingual Drupal 9 distribution.

It is developed by/for the Belgian Federal Public Service for ICT (Fedict) as part of the Fast2Web offering.

Usage

Installation

The recommended way to install Openfed is using Composer.

You can use our Openfed Project template like:

composer create-project openfed/openfed-project MY_PROJECT

After that you can just install Openfed like any other distribution.

Server requirements

Openfed <= 11.1.x requires PHP 7.3. Openfed 11.2.x requires PHP 8.1.

Bug Report

You should use, preferably, Drupal.org Openfed issue queue.

openfed8's People

Contributors

4hardfire avatar jclemmenb4y avatar rutiolma avatar stefanruijsenaars avatar ygublue4you avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

openfed8's Issues

Media & File browsing weirdness

Drag&Drop uploaded a PNG file, went to admin/content to check it out:

admin content page has four tabs
Content --> /admin/content
Files --> /admin/content/files
Files --> /admin/content/files
Media --> /admin/content/media

So "Files" appears twice.

The image is listed under /admin/content/files but not under /admin/content/media.

Base openfed8-1.0 on Drupal 8.3.0

This will put the actual release of 1.0 to "ASAP after april 5th" and allows some time for other modules to get an updated release.

For versioning, I'd like Openfed8 to mostly sync major releases to major Drupal core releases, so @8.4.0 we'd do a 2.0 release, 3.0 for 8.5.0 and so on (though keeping our options open to do our own major release between Drupal releases if justified)

Installation instructions result in a non-functioning site?

Running
composer create-project openfed/openfed8-project:^4.0 . --no-interaction
results in a "docroot" directory that contains the essential drupal directories but is missing the root files:

So I get:
`
$ ls -l

total 4

drwxr-xr-x. 14 username groupname 4096 Dec 14 14:10 core

drwxr-xr-x. 5 username groupname 55 Dec 14 14:10 libraries

drwxr-xr-x. 3 username groupname 21 Dec 14 14:10 modules

drwxr-xr-x. 3 username groupname 21 Dec 14 14:10 profiles

drwxrwxrwx. 3 username groupname 21 Dec 14 14:10 sites

drwxr-xr-x. 3 username groupname 21 Dec 14 14:10 themes

`

where I would expect:
`
$ ls -l

total 28

-rw-rw-rw-. 1 username groupname 385 Sep 18 10:28 autoload.php

drwxr-xr-x. 14 username groupname 4096 Dec 14 13:16 core

-rw-r--r--. 1 username groupname 549 Sep 18 10:28 index.php

drwxr-xr-x. 6 username groupname 74 Dec 14 13:22 libraries

drwxr-xr-x. 3 username groupname 21 Dec 14 13:16 modules

drwxr-xr-x. 3 username groupname 21 Dec 14 13:16 profiles

-rw-r--r--. 1 username groupname 1596 Sep 18 10:28 robots.txt

drwxr-xr-x. 3 username groupname 112 Aug 29 13:41 sites

drwxr-xr-x. 3 username groupname 21 Dec 14 13:16 themes

-rw-r--r--. 1 username groupname 848 Sep 18 10:28 update.php

-rw-r--r--. 1 username groupname 4555 Sep 18 10:28 web.config
`

Fatal error in installation

Cloned this repo, ran composer and started installing the drupal site (PHP 7 on Debian 9, Apache 2)

Installation fails right after installing the 82 modules

Drupal\\Core\\Config\\UnmetDependenciesException: Configuration objects provided by <em class="placeholder">openfed</em> have unmet dependencies: <em class="placeholder">field.field.node.page.body (allowed_formats)</em> in /var/www/belgif8/docroot/core/lib/Drupal/Core/Config/UnmetDependenciesException.php on line 98 #0 /var/www/belgif8/docroot/core/lib/Drupal/Core/Config/ConfigInstaller.php(469): Drupal\\Core\\Config\\UnmetDependenciesException::create('openfed', Array)\n#1 /var/www/belgif8/docroot/core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php(132): Drupal\\Core\\Config\\ConfigInstaller->checkConfigurationToInstall('module', 'openfed')\n#2 /var/www/belgif8/docroot/core/lib/Drupal/Core/Extension/ModuleInstaller.php(141): Drupal\\Core\\ProxyClass\\Config\\ConfigInstaller->checkConfigurationToInstall('module', 'openfed')\n#3 /var/www/belgif8/docroot/core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php(83): Drupal\\Core\\Extension\\ModuleInstaller->install(Array, false)\n#4 /var/www/belgif8/docroot/core/includes/install.core.inc(1572): Drupal\\Core\\ProxyClass\\Extension\\ModuleInstaller->install(Array, false)\n#5 /var/www/belgif8/docroot/core/includes/install.core.inc(662): install_install_profile(Array)\n#6 /var/www/belgif8/docroot/core/includes/install.core.inc(540): install_run_task(Array, Array)\n#7 /var/www/belgif8/docroot/core/includes/install.core.inc(117): install_run_tasks(Array)\n#8 /var/www/belgif8/docroot/core/install.php(44): install_drupal(Object(Composer\\Autoload\\ClassLoader))\n#9 {main},

Ctools plugin for contextually rendering menus?

This is more of a "should we" type question. I'm having to repetitively embed each menu block per language into my context / panels variant(s). This is because there is a separate menu block per language. One idea is to develop a custom ctools plugin for OpenFed that allows the end user to embed a single menu block which renders the correct menu contextual to the current language, limited to a configurable set of menu's exposed as initial configuration within the plugin.

The other potential approach is to use a view block but since menus are not yet exposed to views its not clear on how this can be achieved.

Menu links cannot be translated

Currently we cannot translate menu links (only the title/description are translatable), which is a problem as we want translations of a node to be associated with menu links in different menus (main menu EN, main menu FR, ...)

To fix this we will either have to patch core or develop a contrib module:

https://www.drupal.org/node/2858201

Update modules

Alertbox 8.x-1.0-beta3+
Views Slideshow 8.x-4.4+
Workbench Access 8.x-1.0-alpha3+

Outdated Browser Message

We need a solution to show a message to the users warning about an outdated browser (I guess this is a necessary due to the new european guidelines)

To do this we can use https://www.drupal.org/project/outdatedbrowser but there are some limitations (described in the module page), although there is a patch that may fix it.
This module is Seeking co-maintainer(s) so I guess this will be also a problem, unless we can help here.

Another possibility is to do a custom solution and make it available for the community.

Do you have any input regarding this?

Add field default token module

In manual testing this seems to now work the same as Drupal 7.

We will need to apply some patches, but I have mailed the author asking him to apply the patches and do a new release.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.