This project is under active development.

Querypath template vars

This module populates template vars with html fetched by querypath.
The html can be run through different processors like:

  • paths_rel2abs: Transforms relative paths to absolute.
  • remove_elements: Removes elements from the DOM. Surprise :)

Other modules needs to implement a hook in order to add template vars with querypath fetched html:

function hook_querypath_tpl_vars_settings() {
  return array(
    'header' => array(
      // By now only page is supported.
      'templates' => array('page'),
      'domain' => 'http://acme.com',
      'selector' => '#header',
      'cache' => TRUE,
      'process' => array(
        'paths_rel2abs' => array(),
      ),
    ),
    'navigation' => array(
      // By now only page is supported.
      'templates' => array('page'),
      'domain' => 'http://acme.com',
      'selector' => '#navigation',
      'cache' => TRUE,
      'process' => array(
        'remove_elements' => array('.region-navigation'),
        'paths_rel2abs' => array(
          'exclude' => array(
            'href' => array('/aktiviteter'),
          ),
        ),
      ),
    ),
  );
}

In this case the variables will be present in page.tpl.php :

if ($qtv_header):
print $qtv_header;
endif;
if ($qtv_navigation):

Hangman

hangman

This is a very simple hangman game for Drupal.
It adds an own content type where you can upload a question. You can add an image and some description about the question.

Extended Search

The Extended Search module extends search module to make search on "regexp" condition in place of "like".

DruStack

Welcome to DruStack Installation Profile - a fully-functional Drupal environment that you can use as the skeleton for your new applications.

With DruStack pre-configured modules, you can get your own ready-made and highly customizable development environment by default Drupal installation procedure.

DruStack replace most of the features and as a successor of PantaRei Siren distribution.

Usage

First you need to install composer.

After that you can create the project:

composer create-project drustack/framework-standard-edition:^8.4.0 MYPROJECT --no-interaction

With composer require ... you can download new dependencies to your installation.

composer require drupal/devel:~1.0

The composer create-project command passes ownership of all files to the project that is created. You should create a new git repository, and commit all files not excluded by the .gitignore file.

Field UI permissions

This module provides independent permissions for managing fields attached to each type of entity.

Pages

Subscribe with RSS Subscribe to RSS - Under active development