Site building

Batch change the node language


Problem:

Many websites start of in one language. Switching to multi-language results in the existing content content being in language "Neutral", but it is only available for translation once a specific language is set. It would be nice to set a language  through a batch operation.

Solution:

http://drupal.org/node/526048#comment-3562008


Showcase: Automatically convert an online price list in multiple currencies


Automatically convert your pricelist to multiple currenciesIn tourism  normally multiple currencies are accepted (hotels, restaurants, diving centers). Many times an online pricelist with a different version for each currency is desired. Untill recently the office staff had to review  price lists weekly and update them based on the current exchange rates.

We wanted to avoid this tedious and error prone job for our customers and developed a self converting online pricelist in Euro, US dollar, Pound Sterling and the local currency (in our case the Egyptian Pound).

Hide unwanted elements with CSS

Published in

Problem

A module might add elements you don't desire. Instead of hacking, it's easier and cleaner to hide these with some CSS. Use the "Inspect element" or similar from your browser developer extension to see how the class or identifier of your element is named. You can fine grain even more by preceeding it with another CSS wrapper. In the example below you see .teaser p.feedburnerFlareBlock {   display: none; }

A blog vs a static business website

Published in

Blog vs versus staticWhy should you choose a blog style website over a static site for a business site?

A blog:
  • shows you're an expert in your field
  • gets you Googled sooner
  • have visitors more likely to return to your site and subscribe to your newsletter
  • have visitors more likely to react on or share your content

Showcase: SS Thistlegorm website redesigned

Published in

Thistlegorm screenshotThe reasons to redesign this website:

  • adding the ability for the client to edit or add content themselves
  • a new fresh look
  • a need for visitor statistics (web analytics)

SSThistlegorm.com is mainly a simple informative site about the homonymous SS Thistlegorm book.

The simplest HTML for a "Home" and "Back to top" link that works in all browsers


Go up, please!Simple because you can copy and paste this code to put in the footer area without changing anything. No need to put custom urls.
<a href="/">HOME</a> always links to the highest "root" domain.
<a href="#">TOP</a> is a not defined id tag that results in a link to the top of the actual page.

THE FULL CODE:
<a href="/" title="Back to the Home page"><b>HOME</b></a> | <a href="#" title="To the top of this page"><b>BACK TO TOP</b></a>

RESULTS IN:
HOME | BACK TO TOP

Put this in your site footer so it shows up on every page consistently, long or short, so it's something your visitors can count on. The Home link is useful because this is where most people would go after reaching the top navigation menu. Besides saving them some scrolling, you save them a click.

Showcase: Diving Bikers. Using third party services

Published in

DivingBikers.netThe Diving Bikers website is an example of extensive use of third party services.

But can't we provide an upload for the photos ourself or run a video player on our own server? Yes, we can and we did in the past, but let's sum up some of the advantages of using third party services:  

Make your <a>nchors clever

Published in

Clever anchorsJump to section:
One
Two
Three
.
.
.

Section one
This is the classic:
<a name="section-1">Section one</a>

Section two
Preferred would be: 
<a id="section-1">Section two</a>
This anchor we mistakenly also called section-1. The link for Section one goes here, instead of the above, demonstrating the id attribute has priority over the name.

Section three
Here we used:
 <a href="/drupal-developers-bluehost/make-your-anchors-clever#section-3" id="section-3">Section three</a>
Clever because as you hover over the anchor it reacts as a link that can be copied with the right-click. More inviting for others to link to sections of your pages than having to find the tag name in the source code.   read more »

Redirect to the www version (or not?)

Published in

 WWW or not?Most of us know that it's not SEO wise to have both a www and none www version of a website coexisting. We choose one and make a permanent 301 redirect from one to the other.
What to use? Well, most people will tell you it really doesn't matter. I prefer to use www. Why?
Without it, it's not always clear we are dealing with a website address, especially between other data.




The Limits of Bluehost


Not really unlimited.Anything that gets offered unlimited on the internet has a Fair Use policy attached to it. Actually it means there are limits, but they are just not specified. You might be disappointed the service you receive is not as unlimited as advertised, but it's also to assure the perfomance of your site and the others that are on the same shared server box. So actually it's a good thing it's not really unlimited.

The only way to know the limits is to exceed it and receive a warning. We received one and want to share it with you, so you know what this limit is before exceeding it.

Syndicate content