Enhance the editorial interface and improve the processes and workflows around creating, editing or removing content.

Cookiewall

DESCRIPTION:

Another way of dealing with the EU cookielaw.

This module provides a 'all or nothing' approach dealing with cookies. On a first-time visit, the visitor will get a splash screen asking to allow cookies. All other cookies for the site will get deleted. If the visitor accepts, a cookie will be set to remember the setting for one year. From there on, the site will function normally.

The problem with other drupal cookie modules like listed below (see related modules), is they don't really prevent cookies from being set until you accept, which is necessary for the Dutch version of the cookielaw, which is more strict than the European version. This is especially true for sites which use a lot of social media integration or media embeds (e.g. youtube). It would be very time-consuming to display such a site without all this content when a visitor chooses not to accept cookies. That's why many Dutch sites have implemented this somewhat crude 'cookiewall' solution asking the visitor to accept all cookies or they won't be able to see the site.

RELATED MODULES:

INSTALLATION:

  • Enable module

SearchAPI Solr Multiple View Modes

This module adds support to index multiple view mode renderings on an entity.

Configuration

To enable the new fields returned from Solr, you need to first edit each Search server in SearchAPI config and check off "Retrieve result data from Solr".

There is very little to configuring this module. Enabling it will add a new data alteration callback in an index called "Multiple entity views". Select all the view modes in its option list for the indexed entity. When processing the data, SearchAPI will render the entity item in each view mode, storing the HTML content in Solr.

The advantage to this is that you can bypass hooking, loading, and rendering entities for data because you know they are already cached/stored in Solr. A good example of this would be a search form with search presentation(s) or entities rendered in sidebars, footers, or mobile devices.

Using this module in conjunction with Entity View Modes is highly suggested, so you can create multiple view modes on the fly via the admin UI.

How to Use

In your code, when dealing with a Solr response, there should be new fields returned. Each field will be called "search_api_viewed_" with the view mode name affixed to the end.

Date Enhance

The date enhance module provides some small tweaks to the behavior and presentation of the date field on forms.

jQuery Table Of Contents (TOC)

Generate a table of contents for specific page content using javascript.

Usage

You need to install the following jQuery plugins in your sites/all/libraries folder:

Make sure this is the folder structure you end up with:
{Libraries}/jquery.tableofcontents/jquery.tableofcontents.min.js
{Libraries}/jquery.scrollTo/jquery.scrollTo.min.js
{Libraries}/jquery.localScroll/jquery.localScroll.min.js

Visit admin/config/user-interface/toc to configure the module's behavior and enable content types.
Visit the content types "manage fields" tab to place the "Enable Table Of Contents" fieldset.

Optionally, a jquery selector for the destination field can be added. That way you can place the TOC anywhere you want (e.g. a custom block, panel, region, ...)

Sponsored

Development of this module was brought to you by Coworks Drupal Team.
The author may be contacted for custom development.

History

Pages

Subscribe with RSS Subscribe to RSS - Content editing experience