This forum is for less technical discussions about the Drupal project, not for support questions.

How to show all sub-categories in the list of the parent catagory

I have just add some categories and they have also  sub-categories but on the list of the categories there showing all parent categories along with sub-categories. But i want show only parent categories in one page and after clicking on the parent categories then show the sub-categories in one page.

list like this

MacBook Pro vs Air for development

I'm considering moving my freelance work from my desktop (Mac Mini) to a laptop, and I'm waffling between the new MacBook Air and Pro models. With the same RAM and storage, the price difference is considerable (about $750), and the big difference seems to come down to the processor: the Air has (optionally) a 1.2GHz quad-core 10th-gen i7, while the Pro has a 2.6GHz six-core 9th-gen i7. (Screen size isn't really relevant here; they've both got Thunderbolt ports to which I'll be hooking up a docking station and a large monitor.)

Manipulating a JSON API response before being send to the client

My C#.NET WPF application running Drupal 8 backend is serving 3 different departments as clients. Each of my content type structure is referencing a content type Department. Every user in the system belongs to a single Department. I am using the JSON API to get data to and from my Drupal 8 Backend.

Best Practices to Drupal

Hello, I would like to know if you can help me.

I want to audit infrastructure, security, performance, stress, etc. to make improvements to my Drupal.

  1. Is there an official standard to follow or best practices?

  2. Are there tools to help me generate these reports?

Thank you so much.

Give permissions specific to country?

Is there a way to give roles to users that have permissions applicable to a certain country? For example, I only want an admin for the country Brazil. So they can add users to the Brazil site but those users would not be reflected in another country site like Canada.

Thanks

Best way to create a custom page with statistics

I would like to create some statistics: total number of registered users, total number of subscribers, total number of registered users online on website without paid membership and so on.

I'm trying to find out a solution. DRUPAL8.

Create a table in the database with all the statistics I need, after that create a view page with the the information from that table, so I need to write some custom php code in that view with simple queries.

Is this a good approach? There are any rules? I'm new to Drupal, thanks in advance.

Pages

Subscribe with RSS Subscribe to RSS - General discussion