Codit: Blocks

Component type

module

Maintenance status

Development status

Downloads

2676

Component created

Component changed

CONTENTS OF THIS FILE

  • Introduction
  • Features
  • Requirements
  • Installation
  • Configuration
  • Building Blocks
  • Drush Commands
  • FAQ
  • Roadmap
  • Bonus Features
  • Similar Projects
  • Maintainers

INTRODUCTION

Codit: Blocks allows for creation of simple or complex blocks with custom
callback, access, and caching available for each block. Like all Codit based
modules, this is done entirely through code and no admin.

Mobile detect - drupal 8

Component type

module

Maintenance status

Development status

Component created

Component changed

drupal 8 module for detect mobile devices.

This is a lightweight mobile detection based on the Mobile_Detect.php library.
github link: mobile_detect

Twig Helper

{% if is_mobile() %}
{% if is_tablet() %}
{% if is_device('iphone') %}
{% if is_ios() %}
{% if is_android_os() %}


PHP examples

Simple nodeblock

Component type

module

Maintenance status

Development status

Downloads

654

Component created

Component changed

This module allows you to turn one chosen content type into blocks. It's really simple, without any bells and whistles, just one click configuration. Works with Entity translation out of the box. It's very handy if you want to attach fields to your blocks because in Drupal 7 blocks are not fieldable entities. With this module you can add image fields to your blocks without a problem.

IconBox

Component type

module

Categories

Maintenance status

Development status

Downloads

1734

Component created

Component changed

IconBox can be used to Create different Content box with Fontawesome icon.

Content box and Fontawesome icon is fully customizable(color, size, border) using configuration page.

IconBox is fully Responsive.

MetaMorph Menu

Component type

module

Maintenance status

Development status

Component created

Component changed

MetaMorph Menu creates blocks that may be associated with any existing site menu which can be placed wherever normal blocks can be placed in a theme. For themers, it is also possible to theme a menu as a MetaMorph Menu directly by using the provided theme functions so a block is not necessary.

Exclude Node Author

Component type

module

Categories

Maintenance status

Development status

Downloads

1653

Component created

Component changed

Prevents authored on/by information from being displayed on a per node basis. Instead of hiding author information for an entire content type, can be hidden on just a single node. Designed for sticky nodes (but can be used anywehre) providing information about a page rather than used as content.

QR for development

Component type

module

Maintenance status

Development status

Component created

Component changed

Stop typing the url of the pages whenever you are going to check your site on a real mobile device!

This module provides options to display a QR code image of your page url, making it easier to check it on a phone, tablet or anything else.
Here are the possibilities to customize the appearing of your image, and the behavior of the module: