Skip to main content
Home

e: info@zerotouch.co.uk

t: 01628 820100

Main navigation

  • Home
  • About Us
  • Web Design
  • Drupal Services
  • SEO
  • Portfolio
  • Contact Us

Make http:// goto http://www and get rid of trailing slashes

Read more about Make http:// goto http://www and get rid of trailing slashes

Update the .htaccess file as described below.

Views Header subject to the Taxonomy Term ID

Read more about Views Header subject to the Taxonomy Term ID
Within the Views Arguments section add the 'Taxonomy: Term ID' as the argument.
 
The output from the header may then be configured per taxonomy term ID using the example php code below.
 
The example php code is placed within the Views Header field.
 
<?
$a = arg(0);
$b = arg(1);
$c = arg(2);

print "<p>arg-0: [" . $a . "]</p>";
print "<p>arg-1: [" . $b . "]</p>";
print "<p>arg-2: [" . $c .

Update Drupal Core

Read more about Update Drupal Core

This describes a quick process of updating Drupal core.

1. Make back-ups.

Then run the composer command

See: https://www.drupal.org/project/drupal/releases/10.1.6

To start a new Drupal project with version 10.1.6:

composer create-project drupal/recommended-project:10.1.6 "install-dir"

To update your site and all dependencies to the latest version of Drupal:

ls -ald php*

Read more about ls -ald php*

ls -ald php*

Block display subject to User ID

Read more about Block display subject to User ID
<?php
global $user;
if ($user->uid == 1){
  return TRUE;
} else {
  return FALSE;
}
?>

Fade in page content on load of page using jQuery

Read more about Fade in page content on load of page using jQuery
<?php
drupal_add_js(
'$(document).ready(function(){
// Hide all paragraphs
$("p").hide();
// Fade them into visibility
$("p").fadeIn("slow");
});',
'inline'
);
?>

Look up and find IP addresses in the DNS

Read more about Look up and find IP addresses in the DNS

Our favoured service for this is:

http://www.kloth.net/services/nslookup.php

Next and Previous Links for Views Listing in Drupal

Read more about Next and Previous Links for Views Listing in Drupal

You may like to check out:

  • https://www.drupal.org/project/entity_pager
  • https://www.drupal.org/project/flippy

Custom Pagers is no developed and doesn't support Drupal 9.

Automatically set parent menu item

Read more about Automatically set parent menu item

When creating a menu page it can be very helpful to automatically set the parent item subject to the content type. For example, all new case studies should always reside under the parent menu item "Case Studies".

To achieve this use the Auto Menu module.

Once the module has been enabled it is configured under the "workflow" options that reside under each content type.

Restrict Parent Menu Options

Read more about Restrict Parent Menu Options

When a content author adds a node they are typically required to select a parent item.

However, the default display of parent menu options shows items that are irrelevant and confusing.

Therefore, it is more user friendly to show only the menu items of relevance. This can be achieved by only displaying a specific menu and its items through use of the module Menu Settings per Content Type.

Pagination

  • « First First page
  • ‹ Previous Previous page
  • …
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • …
  • Next › Next page
  • Last » Last page
Subscribe to
Image:
Grey and white wave
Image:
abstract circular ligjts
          • Home
          • About Us
            • History
            • Employment
            • Testimonials
            • News
            • Privacy Policy
            • Cookie Policy
          • Web Design
            • Requirements
            • Style Guide
            • Content Management
            • Fully Responsive Websites
            • Customer Self-Service
            • Bootstrap
            • Bespoke Development
          • Drupal Services
            • Drupal Websites
            • Drupal Intranets
            • Drupal Support
            • Drupal modules
          • SEO
            • Organic SEO
            • Pay Per Click
            • SEO Advantage
            • SEO Summary
          • Portfolio
            • Brochures
          • Contact Us

          Copyright © 1999 - 2026 Zerotouch Limited.  All rights reserved.  Registered in England and Wales.  Company Number 03694425

          Web design and maintenance by Zerotouch Ltd