updating module with composer did not work: nothing to install or update

I installed Drupal 8.4 with composer two weeks ago. I am trying update drupal core and to update some modules.

I ran:

composer update --dry-run "drupal/*"

It listed several modules that needed updating, included ctools 3.2 to 3.4. Next I ran

Drupal 8: Taxonomy term pager showing same article in different pages

Hello

I have created Taxomony term called Article Category. Now I have 13 posts in a category & pager is set to show 9 articles per page. The pagination is showing 2 pages but both page 1 & page 2 is showing the first 9 articles.

What am I missing here? Can anyone help plz?

New added service cannot be recognized by drupal 8

Hi,

I'm using Drupal 8.8.2, lightning 4.1.3.

I created a new service class in a custom module, it works on my local PC.

After I upload the code, and tried drupalconsole and drush both to clear and rebuild cache, but when I run this service, Drupal keep showing error message that it didn't know this service. I also tried delete all cache_* database tables, but the error still.

And at the logger I can see some error messages: Container cannot be saved to cache

How can I solve this problem?

Thanks,

How to get details of a content type article in another?

Say there is a content type blog, where I enter all the blog details (author, pictures, tags etc)

Another content type books, where I  enter few books (book cover, details, link etc).

Now I have to provide an option in CMS while creating a blog to select a book. and when the blog is displayed, the selected book also should get displayed along with it with all the details. How can we achieve this?

How to add Numbering to Book Page Contents or Child Pages in Drupal 8 Book view

I don't know method to add Numbering to Book Page contents or Book child pages as below. Can you please let me know how I can add numbers to book contents or to child pages in book view as below in Drupal 8.

https://prnt.sc/ruftvd

Actually, I am not getting numbers for book contents in Drupal 8 after creating book and adding contents to it. Please provide how to do steps for above query. And below is the new book view without numbers in drupal 8.

How to display a result counter in the page menu link ?

I have a navigation menu on my site, each menu link corresponds to a page of views.

I want to display in front of each menu link, a badge with the number of results of the corresponding page views. Like this :

My menu <span class="badge badge-light">4</span>

How to display a result counter in the page menu link ?

https://i.stack.imgur.com/FoqYy.png

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x