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

Customising search box

Read more about Customising search box

The seach box together with other forms can be modifed as per the article:

http://www.lullabot.com/articles/modifying-forms-5-and-6

Note:

When using this method the encasing <div class="container-inline"> is removed causing the imput box and the submit button not to be inline - the submit button appears below the input box and not to the right.

 

Search box in page tpl php

Read more about Search box in page tpl php
<?php if (!empty($search_box)): ?>
<div id="search-box"><?php print $search_box; ?></div>
<?php endif; ?>

Block Search Form Submit Button and Input Box

Read more about Block Search Form Submit Button and Input Box

The two blocks below are examples of the drupal search box. The first is the stanadard wereas the second has been overriden via the template.php file using the theme function and returning the output from drupal_render() function. The point to note is that the second omits the <div class="container-inline"> which results in the submit button being below the input box.

Why and when set-up 301 redirects

Read more about Why and when set-up 301 redirects

301 redirects are set-up to ensure existing links, such as those held by Google and other search engines, continue to take the user to an appropriate page even though the actual page (and URL) has been removed.

For example, on this site:

http://www.zerotouch.com/style-guide/styling-of-testimonials/

was moved to:

Drupal Ticketing and Tracking Systems

Read more about Drupal Ticketing and Tracking Systems

Below are some links to Druapl ticketing and tracking modules:

HTML code for double chevron

Read more about HTML code for double chevron

The code for the double chevron (») is:

&raquo;

This can be used as a forward arrow, for example at the end of a link.

Site URLs indexed by Google

Read more about Site URLs indexed by Google

Within the Google input box enter site: followed by the site URL.

For example entering the below (without spaces):

site:www.zerotouch.com

will show all the URLs held by Google for this site.

Field Level Permissions for Drupal Fields

Read more about Field Level Permissions for Drupal Fields

Within CCK (Content Creation Kit) activate 'Content Permissions'.

For example, images on a page could be restricted to a role of users whilst the text content is visible to all users.

Therefore only after logging in would the user be shown the complete page.

Locate a search string in a selection of files

Read more about Locate a search string in a selection of files

Locate a search string in a selection of files

  find . -exec grep "swf" '{}' \; -print

The above will search for 'swf' within all files from the current location recursively (including all subdirectories).

Locate files with a certain name and show their date

Read more about Locate files with a certain name and show their date
find . -name "slider.css" -exec ls -al {} \;  

Pagination

  • « First First page
  • ‹ Previous Previous page
  • …
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • …
  • 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