how to slow down drupal response time?

How to slow down drupal response time? I need this in order to develop for REST API front-end the loading icons, cancel requests and other stuff related to fetch latency

Is there any module or maybe a way to add some delay (2-3 seconds) to index.php before render?

thanks

Need help with flags-rules

Hi All!

I need a little help :-)

I building a product demonstration page, not a webshop.

We need a flag: purchased. I installed Drupal flag module, and configure this, but I want to print the product datasheet is purchased or not.
I add a field this content type, which name is productions, which call "purchased", and with the Rules Set data value, print this message.

Here I dont know how set data value to custom field. I attempt:

Does view support ajax callbacks on exposed view filters?

I am populating a select field based on the previous filter value and so on.
However upon ajax fire, all i get is the following error.

An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (2 MB) that this server supports.

Can anyone shed some light on this? I will post the code if needed

thanks

[solved] Clean install failing due to missing extensions

Hi guys. After many years of other versions I finally decided it was time to have a go on D8. I made a clean install with composer:

composer create-project drupal-composer/drupal-project:8.x-dev drupal --prefer-dist --stability dev --no-interaction                                        

When I browse to the site I get this:

Search using view and facet as block

In my project I need facet search as block view that need to be included in content region. So I created View as block and added facet block in header of the view. Also need infinite scroll, so enabled ajax in view. The issue is that facet search ajax and View ajax causing conflict so that the query parameters are duplicating in URL.

[Solved] Add simple text field to custom module

I am a noob working on my first module, and I've hit a wall pretty quick. I've got a controller which generates an NxM table where N and M are passed in via the url. I want to add some simple textfields to the header row of the table, but the purpose of the textfields is not for collecting data, but rather for the user to print out the table with their nicely typed header information.

If I create this in pure html, I simply add an <input> in the table cells where needed, but I'm not sure how to accomplish this in Drupal.

Please help. Thank you.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x