Country Specific Menu

Component type

module

Maintenance status

Development status

Component created

Component changed

This module helps to create country specific Menu Items. It Add country setting to menu item and manages country specific display of menu item.

Menu item will be only visible for the selected countries. It detects and gets User's country from Ip2Country information and based on this it manages block visibility.

CONFIGURATION
To add country specific visibility to a Menu item, Go to that respective Menu item edit page and select the respective country from country field.

JSE

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

JSE (JSON slimmed entity) let's you create API endpoints with a hook

function MODULE_jse_info() {
    return array(
        'projects' => array(
            'label' => t('Projects'),
            'callback' => 'example_get_jse_entity_ids',
        )
    );
}

function example_get_jse_entity_ids() {
    return array(
        'node' => array(1, 5, 56),
        'user' => array(23, 1)
    );
}

The result will be a JSON output with the nodes rendered by the view mode json.

Drush Delete All

Component type

module

Maintenance status

Development status

Downloads

1414

Component created

Component changed

This module provides the drush command to delete all the dummy contents through drush Command.

Currently it will work with the command,
drush delete-all article

How to use?

  1. Download and enable as like any other module
  2. Through terminal Go to 'Project root folder' and run the command drush cc drush
  3. Then run drush delete-all machine-name-of-content-type

CKE Placeholder

Component type

module

Maintenance status

Development status

Downloads

246

Component created

Component changed

CKE Placeholder is a plugin module that allows for easy addition of widgets to insert in CKEditor enabled long text fields in a way that is intuitive to the editor and easily themeable for the developer. The elements are inserted as CKEditor widgets that does not interfere with the rest of the content. It is saved as an HTML comment, so in case the module is disabled, the content will just not show up.

Quick presentation: https://vimeo.com/164619178

System Entity

Component type

module

Maintenance status

Development status

Downloads

245

Component created

Component changed

System entity seeks to provide configuration and export on individual entities, dubbed "system entities", that should not be created by content managers and have unique functionality/appearance per entity. The module is based on a machine name field that provides a semantic unique identifier per entity. This opens the door for special purpose entities that do not have common configuration or content layout with other entities as provided with Drupal's entity type/bundle scheme.