How do I display taxonomy articles in a non-taxonomy page?

I have a vocabulary TAG and common,speak and write are the terms listed.

Now when the user writes an article and he can tag the article with any of the above 3. So individually the url for those terms would be taxonomy/term/1 or 2 or 3. 

When I want to display all the articles of type common, I would use the above url. But my scenario is different.

There is an existing URL - www.example.com/prepare/common

How to display part of the Drupal Commerce address in TWIG ?

In the TWIG template of my stores, I can render the address with the following code :

{{ store.address }}

How can I return only the postal code ?

Drupal 8 to Moodle 3.8 SSO?

Is there a tutorial somewhere that will help me get SSO set up for a Drupal 8 site?

I need to have Drupal registration that signs you into Moodle as well. I'm brand new to SSO so I don't even know where to start. Any tutorials would be great. 

Ubercart unable to update orders

Hello,

I have some issue with operating Ubercart.

I can finish order and generic functionality seems ok. But Im unable to view order details nor change its status.

Log shows long message starting:

TypeError: Argument 1 passed to Drupal\Core\Access\AccessResult::orIf() must implement interface  Drupal\Core\Access\AccessResultInterface, null given, called in /volume1/web/hikvision/core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php on line 10 ...

Anyone could help?

Insert values to a database

Hello to everyone

I want to insert values from a field that i have created when i push the button. I have created my database and a table for 2 values.(table name is Formlrs, value 1 is address and value 2 is port). But when i push save button it doesnt work( no reaction)

My code in php is

function buildForm(array $form = NULL , FormStateInterface $form_state = NULL) {
 
 $form['address'] = array(
    '#title' => t('Lrs Address'),
    '#type' => 'textfield',
    '#required' => TRUE,
  );

Ubercart unable to update orders

Hello,

This is my first time setting up an ubercart site. All seems to work well but the change order status or view order details gives me "Page has encountered an unexpected error. Try again later".

I have no idea what is wrong.

Is there any chance you guys could help me? 

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x