Site building
Batch change the node language
Written 14 weeks 1 day ago by SharmWeb. Last edit 14 weeks 1 day ago.- 36 reads
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-3562008Showcase: Automatically convert an online price list in multiple currencies
Written 23 weeks 3 days ago by SharmWeb. Last edit 7 weeks 5 hours ago.- SharmWeb's blog
- 208 reads
In 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
Written 35 weeks 5 days ago by SharmWeb. Last edit 35 weeks 5 days ago.- 55 reads
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
Written 37 weeks 1 day ago by SharmWeb. Last edit 37 weeks 23 hours ago.- SharmWeb's blog
- 127 reads
Why 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
Written 37 weeks 6 days ago by SharmWeb. Last edit 23 weeks 3 days ago.- SharmWeb's blog
- 218 reads
The 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
Written 38 weeks 6 days ago by SharmWeb. Last edit 19 weeks 3 days ago.- SharmWeb's blog
- 91 reads
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
Written 41 weeks 3 days ago by SharmWeb. Last edit 17 weeks 4 days ago.- SharmWeb's blog
- 304 reads
The Diving Bikers website is an example of extensive use of third party services.
- Flickr to host almost all images (Yahoo!)
- YouTube for the vids (Google)
- Facebook to allow comments and share posts
- Google maps to show the routes
- Google translate to offer instant machine translation in any language
- Google custom search to move heavy database queries to their server
- FeedBurner to send newsletters and Twitter messages (Google)
- Woopra to offer web analytics
- FlagCounter to give some statistical insight also to visitors
- Geonames providing location names from GPS coordinates.
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
Written 43 weeks 1 day ago by SharmWeb. Last edit 22 weeks 51 min ago.- 112 reads
Jump 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?)
Written 1 year 7 weeks ago by SharmWeb. Last edit 37 weeks 1 day ago.- Add new comment
- 111 reads
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
Written 1 year 8 weeks ago by SharmWeb. Last edit 21 weeks 3 days ago.- Add new comment
- 354 reads
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.


