Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
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.
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.)
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.
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.
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.