syllabus for K12

Hello,

I have installed drupal for my school. This site will be for school administration and teacher but not for delivering teaching content (yet). 

I want to create "syllabus" as groups of "topics" (groupped through taxonomy terms). A "topic" is a content type with taxonomy terms refering to the system (international baccalaureat; french system...), the class year (class 1 to 12) and the subject (math, french, physics...)

I will also have group of students for a particular class : IB1-A IB2-B if I have two IB1 classes.

Apply codding standards in twig templates programmatically

Hi, I'm creating a series of scripts to programmatically apply durpal coding standards, for "normal" files I've used phpcbf --standard=Drupal and for JS files I've used eslint, which is integrated in drupal's core. Is there any tool to fix the coding errors of twig's templates?

Broken preview (8)

Hi,

I'm developping my own theme that extends the classy drupal theme.

The displaying of the standard page is working well (for both page and post type).

But when I'm trying to do the preview, the page is displaying everything but the content of my node (no title, no content, no custom field...)

So i dumped my node for the preview, but the node is apparently NULL on preview (but works on standard view mode).

If it helps, this is my suggestion hook

Fresh 8.8.1 Composer Install Errors

Hi all, I'm a brandy new user to Drupal and to Composer.

Fresh install on my Manjaro Linux desktop using composer.
In a blue box in my terminal, I got this message.
Congratulations, you’ve installed the Drupal codebase
from the drupal/recommended-project template!

I called up http://localhost/drupal/web/
which ended up at http://localhost/drupal/web/core/install.php

How to convert adobe XD files to drupal 8 template

Hello,

I have XD adobe file which i need to convert into drupal template, can any one know the better way to convert them into html.

Modal dialog form not reacting to AJAX submit handler

I am creating a custom field widget where a user can click a button and edit some fields in a form inside a dialog modal.

Opening the modal works fine, but I cannot seem to make any buttons inside the modal form react to anything I throw at it.

In the below example, when clicking the "submit" inside the modal form, the "submitAjax" function is not executed, and I receive a standard AjaxResponse in my network debugger. I've tried using different class names "use-ajax" and "use-ajax-submit", I also tied without any.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x