This forum is for assistance with theme development.

Attacking /admin/flush

Hi,

We have a government client for whom we have built a Drupal website. Their IT Team has responded back with the following.

"When they are scanning they are attacking /admin/flush as a credentialed scan its doing a brute force as admin to this resource which is constantly doing a cache rebuild in drupal. As such the site never responds back by the time the second “attempt” happens and it falls over because constantly clearing the drupal cache never happens.

"Demonstrate block regions" and new regions

I did read the document at the URL below (Adding Regions to a Theme).

https://www.drupal.org/docs/theming-drupal/adding-regions-to-a-theme

The regions part of my .info.yml follows.

A theme from scratch importing Bootstrap 5: how bad is the idea?

I already made something like what mentioned in the subject, though using Bootstrap 4.

The idea was using the bare minimum, occasionally stealing some html.twig file from a Bootstrap-centered  theme.

Theme development opportunity

Hi folks,

I am looking for someone (individual or company) that can build a new theme for a website running under D10.

This website has 2 main topics:

  1. Questions and Answers
  2. Sharing literature (PDFs or Compressed files) from the topic of the site.

I would like to accomplish the usual, great usability, mobile friendly, performant, etc. If you have documented experience I would like to talk to you. Reach me at info@valvulita.com

Best

Francesco

Do I need to have nested blocks or break the HTML down somehow?

Hello,

I'm currently trying to create a sub theme based on Bootstrap 5.
In the front page hero section, (currently for demo purposes) I have a custom block (full HTML) with that HTML content (barebone, stripped of CSS etc.):

What is the Correct Method to Retrieve the Node ID of an Item in menu.html.twig?

I am a Drupal beginner; is this approach correct? Are there any other methods?

In menu.html.twig, I successfully used the following statement to retrieve the node ID of an item:

item.original_link.pluginDefinition.route_parameters.node

Pages

Subscribe with RSS Subscribe to RSS - Theme development