lorik/fortune_number

示例项目分配,用于计算页面访问者数量

安装: 5

依赖项: 0

建议者: 0

安全性: 0

星标: 0

关注者: 1

分支: 0

开放问题: 0

类型:drupal-module

v1.0.1 2023-03-27 12:51 UTC

This package is auto-updated.

Last update: 2024-09-27 17:43:48 UTC


README

This module is an assignment.

It has two separate blocks:
  1) show visitors counter, which is stored in a file (CountVisitorsInFileBlock.php);
  2) show visitors counter, which is stored in a DB table (CountVisitorsInDBBlock.php).

To install package run "$ composer require lorik/fortune_number" in your console.
Then go to http://assignment.test/web/admin/modules and install module via name 'Fortune Number Module'.
After that go to http://assignment.test/web/admin/structure/block/list/olivero and enable blocks 'Count Visitors in DB Block' or 'Count Visitors in a File Block' to your page path or '/indexAction/page' (path for this module controller).