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

Changing Colours on Linux Terminal

Read more about Changing Colours on Linux Terminal

1. From the command execute:

dircolors -p > .dirSourceJES

2. Edit colours within .dirSourceJES

3. From the command execute:

eval "`dircolors -b .dirSourceJES`"

Source: http://sos.blog-city.com/changing_colors_in_the_linux_terminal.htm

Download entire website

Read more about Download entire website

An example is shown below.

This first example uses a username and password.

wget -r http-user=jeremy@la-maison.co.uk http-password=lilli http://www.tradefairinternational.com/cgi-bin/bb000001.pl?ACTINIC_REFERR...

This example

jQuery selector for PDF documents

Read more about jQuery selector for PDF documents

To select PDF documents use the following selector:

$("a[href*=.pdf]")

For example the following will highlight PDF links with a yellow background:

$("a[href*=.pdf]").css("background", "yellow")

Sort Product List in Ubercart

Read more about Sort Product List in Ubercart

This is a useful article:

http://www.commerceguys.com/resources/articles/123

Note: the ubercart catalog module needs disabling for the recommendations to take effect.

Speed of sound and light

Read more about Speed of sound and light

Sound 791mph
Light 186,000 miles per second

Earth circumference is 25,000 miles
=> 25,000/186,000 = 0.1344 seconds

Whereas for sound 340.29 miles per second
approx 1 mile in 5 seconds
34 hours in dry air at 20C or 68F to travel around the earth

Drupal and URL aliases

Read more about Drupal and URL aliases

The basic form of URLs on Drupal are as follows:

  http://www.villa-la-herradura.com/?q=node/157

These are known as 'dirty' or 'unclean' URLs and are not good practice for search engine optimisation.

So the first transformation is to go about getting 'clean' URLs. This is easily obtained by selecting 'Clean URLs' under Site Configuration. And then selecting 'Enabled' for clean URLs. Note, your server will need to support this feature.

Different classes for main and sub-menu?

Read more about Different classes for main and sub-menu?

The code below should be entered within your template.php file and will give the main menu a class of "topnav" and sub-menus a class of "subnav".

function phoenix_menu_tree($tree) {
return ''. $tree .'';
}

IE position relative causes z-index problem

Read more about IE position relative causes z-index problem

With IE where a DIV is positioned with 'relative' other items such as drop-downs may appear behind them.

A possible solution may be as follows:

<!--[if IE]><style="test/css"> #splash { z-index: -10;}</style><![endif]-->

rsync list of files specified within a file

Read more about rsync list of files specified within a file

1. Make a back-up in case any problems arise so you can revert back to the start.

2. Ensure that the file permissions on the files directory give permission for the products image files to be deleted.

cd /var/www/html/drupal/shop/sites/default/
chown -Rv mreid.mreid files
chmod -Rv 777 files

3. Remove all existing products from the shop

Importing Data in Drupal

Read more about Importing Data in Drupal

Here are a few links worth checking:

http://groups.drupal.org/node/21338

http://www.lullabot.com/articles/drupal-data-imports-migrate-and-table-w...

Pagination

  • « First First page
  • ‹ Previous Previous page
  • …
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • …
  • Next › Next page
  • Last » Last page
Subscribe to
Image:
Abstract Chevrons
Image:
Colours
          • 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 - 2025 Zerotouch Limited.  All rights reserved.  Registered in England and Wales.  Company Number 03694425

          Web design and maintenance by Zerotouch Ltd