Articles
At LevelTen, we practice what we preach - but thanks to the ravages of caffeine and late nights, we don't always remember. Thankfully, we have this to remind us.
Internet Marketing Resources [cornerstone draft]
Internet marketing is one of those things - with a little bit of knowledge, you can get far.
On Page SEO
Off Page SEO
PPC
Alternative PPC
Social Media
Blogging
Digital Media Buys
Drupal SEO Module Directory
Back in 2008, when LevelTen made the official switch to only supporting the Drupal CMS, one of the primary factors in our decision making was the marketing capabilities that Drupal provided. From a purely search engine optimization standpoint, Drupal was (and still is) heads and shoulders above other open source content mangement systems. Why is Drupal so much better?
- Great coding.
- Ease of content creation.
- Modular functionality.
Great Coding
How to add Yahoo! Tracking Code to your Drupal Site
More and more of our clients are wanting to track their site metrics from more than just google and since there aren't really any great modules for adding the Yahoo! tracking code; I thought I'd share exactly how I went about adding them. The problem is that if I simply place the tag on the page.tpl.php file then I get the code going site wide and if it's a conversion code, I only need it to trigger for certain pages. We tried creating individual pages and then placing the code in the body, but the problem is the Yahoo! code must be placed into the
tags.Color 101
A very important element in building a website is color. Naturally, people connect certain colors with different emotions and feelings. People of the world see color differently. This is because tradition, religion, and symbolism affects how people feel about color. In order to create a good user experience it is very important that your palette is reflected to your audience.
First, let’s look at a few dominant colors and how they can evoke different emotions.
Drupal errors "Notice: Undefined index: profile in..."
Ah the joy of procedural programming in a weakly typed language.
There are two issues here:
1. Drupal is reporting notices
2. Datastructure mismatches
The particular above notice is created when php tries to access a index of an array where the variable is not holding an array. In general this notice will not cause problems with Drupal functionality. You may want to turn off php reporting notices. To do this you can change php's error reporting.
In php.ini use:
error_reporting = E_ALL & ~E_NOTICE
In .htaccess user:
php_value error_reporting 2039
How To 301 Redirect Multiple Domains Into One Domain
If you need to do a 301 redirect between multiple domain names, and force all domains to direct to the "www", use the following code in your .htaccess file.
RewriteCond %{HTTP_Host} ^(www\.)?secondary-domain1\.com$ [NC]
RewriteRule ^(.*)$ http://www.maindomain.com/$1 [L,R=301]
RewriteCond %{HTTP_Host} ^(www\.)?secondary-domain2\.com$ [NC]
RewriteRule ^(.*)$ http://www.maindomain.com/$1 [L,R=301]
RewriteCond %{HTTP_Host} ^maindomain\.com$ [NC]
RewriteRule ^(.*)$ http://www.maindomain.com/$1 [L,R=301]
And that's how you would do a 301 redirect between multiple domain names, and force the "www" version of your main domain. The code above is for a .htaccess file on an apache server.
How do I test a website in IE6 on Windows XP?
For Windows XP, the best way I have found to test a website in IE6, is to create a virtual machine on your PC. You will need two things in order to make this happen:
How do I shade every other row in Excel 2007?
In Excel 2007, here is step-by-step instruction for shading every other row in your selection:
1. Select the rows or cells in Excel you want affected
2. Under the "Home" tab, click on the "Conditional Formatting" drop-down and select "New Rule..."
3. Select the option, "Use a formula to determine which cells to format"
4. Copy and paste the following values into the field for "Format values where this formula is true:" =MOD(ROW(),2)=1
5. Click on the "Format..." button to format the row style desired (Use the "Fill" tab to insert cell background color) and press OK
6. Click OK again and voila!
jQuery Full-Screen Video Fix For Drupal
I recently had an issue displaying jQuery Media full-screen videos in Drupal 6. After a little research, reading some threads and some trial and error, I was able to successfully display videos in full-screen mode. The fix ended up being quite simple, but there didn't seem to be a lot of documentation so here it is.
My Situation:
This fix assumes that you you're using jQuery Media module and successfully playing the video through JW Player of similar.
The Quick Fix:
1. Go to: Administer > Configuration > jQuery Media
2. Select Advanced Settings
How To Paste Excel Content Into Drupal
I was recently had a client ask if it was possible to paste Microsoft Excel content directly into Drupal and for the life of me I could not answer that question. I've typically pasted content from Microsoft Word or other text editors, but had never tried pasting Excel content. So, is pasting Excel rows and columns into Drupal possible? After a little research and some trial and error, the answer is yes!
Here are the simple steps:
1. Download and install WYSIWYG module from Drupal.org if you don't already have it installed.
