How to count anonymous online Drupal 8?

Hello all,

i have question  How to count anonymous online Drupal 8

i want show anonymous online my site. 

Bootstrap navbar-fixed-left side menu.

What would be the quick way to change the bootstrap 8.x-3.15 default horizontal menu to a vertical left side menu. The example I found, uses navbar-fixed-left. What would be the recommended way to implement this in a bootstrap sub-theme with minimal changes from the base theme?

URL leading to FTP caching?

Hi

A third-party who holds data for the company I'm helping, says they can run a script on the website I'm working on, every time the data I need to access changes.

The data can only be accessed via FTP, so I need to use FTP to store all the data in a database (or flat text file as the data is fairly small) every time the script is called.

In theory, I can do this as a standalone PHP script outside of Drupal, however, it seems more sensible to use Drupal as it will be more secure and I can use the FTP libraries etc.

How would I go about doing this?

How to customize the /node/add page ?

On Drupal 8, there is a page on /node/add. I want to customize this page by replacing the links with buttons, but I have not found a template to do that.

I have also enabled the debug mode, but there is no template suggestion.

How do I customize the page ?

<div role="main" class="main-container container js-quickedit-main-content">
<div class="row">

Create custom front page

Hi.

I'm currently develop a custom theme from the ground up.

I want to create a custom front page too, but without using the view front page given by default with drupal.

So I disable it from the views and I also delete the path /node from the configuration > basic site settings.

Is there any ideas on how I can create a custom front page?

Thanks in advance!

Pager with Ajax Content

What is required to include a pager when returning ajax from a controller and or block? 

I have created content with a pager that updated on page load simply by adding the pager api. Something like so - 

return [
  'results' => [
    '#theme' => 'some_theme_template',
    '#nodes' => $nodes,
  ],
  'pager' => [
    '#type' => 'pager',
  ],
];

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x