Wednesday, July 30, 2008

Social Networking as a Marketing Tool Pt. 1



In this blog I wanted to give a breif overview of using social networking sites as a marketing tool for your business. A lot of people just use myspace, but there are literally hundreds of other social networking sites on the web you can use to generate leads to your website. In essence, by having consistent information about your company across all the major social networks you are simultaneously link building to enhance your search engine placement as well as creating a coherent, branded experience for your end users.

It isn't enough to simply set up the accounts though, you have to add as many contacts in these social networks as possible. You also need to interact with these accounts, so in addition to your main company accounts you will need to set up individual professional accounts within these networks to add comments, information, etc... to your main account.

In my research the most high traffic sites that fruit the best results are primarily Myspace, Linkedin, Ning, Blogger, Multiply and Facebook but be aware there are literally tens of thousands of these sites on the web.

The more resence you have accross all of these networks the more your company will achieve what is called "Omnipresence" in the world of marketing, which, in a nutshell, is the effect of being visible across multiple platforms/ demographics to all your prospective clients. I wioll

Well what are you waiting for? Get social!

Tuesday, July 8, 2008

Dynamic prefilled input fields in Joomla! with jQuery

Suppose the following inline JavaScript from the Joomla! (v. 1.0.16) CMS in the mod_search.php module:
<input type="text" onfocus="if(this.value=='search...') this.value='';"
onblur="if(this.value=='') this.value='search...';"value="search..." size="20"
class="inputbox_site_search" alt="search" maxlength="20" id="mod_search_searchword"
name="searchword" />

In English:
  • The search input field will display the value "search ..." when the page loads.
  • When the user clicks on the input field (onfocus), the value "search ..." clears.
  • When the user clicks elsewhere on the page (onblur), the value is "search ..." again, unless the user filled out the form field with a value.
Rather than using inline JavaScript, it would be beneficial, considering modularity and re-usability of the code, to use unobtrusive JavaScript with the help of jQuery. After implementing this, the inline JavaScript can be safely removed from Joomla!'s mod_search.php module.

Change this line (in the mod_search.php module) from:
$output = 'Search <input name="searchword" id="mod_search_searchword"
maxlength="20" alt="search" class="inputbox'. $moduleclass_sfx .'"
type="text" size="'. $width.'" value="'. $text .'"
onblur="if(this.value==\'\') this.value=\''. $text .'\';"
onfocus="if(this.value==\''. $text .'\') this.value=\'\';">';
To:
$output = '<label for="mod_search_searchword">Search</label>
<input name="searchword" id="mod_search_searchword" maxlength="20"
alt="search" class="inputbox'. $moduleclass_sfx .'" type="text"
size="'. $width .'">';
Another change from the original Joomla! mod_search.php module is the addition of the <label> tag. The <label> has been added for accessibility and usability reasons. One advantage is, if the user clicks on the <label> enclosed word, the related form field will be selected. Load the scripts within the <head> section of the Joomla! template and upload them into the appropriate directory on a server ("jquery.prefilled.input.js" is the code sample at the bottom):
<script language="javascript" type="text/javascript"
src="templates/<?=TEMPLATE_NAME?>/scripts/jquery-1.2.6.min.js">
</script>
<script language="javascript" type="text/javascript"
src="templates/<?=TEMPLATE_NAME?>/scripts/jquery.prefilled.input.js">
</script>
Helpful links about this procedure:
Other Notes:
  • this.value in jQuery is notated as $(this).val()
  • the html attribute onfocus is focus() in JavaScript
  • the html attribute onblur is blur() in JavaScript
  • #mod_login_username is the CSS id for the input user name field in Joomla! CMS
  • if more than three form fields are used, perhaps a loop can be implemented by creating an array of the input values and CSS id's
The JavaScript ("jquery.prefilled.input.js") file (for the search input field only):
$(document).ready(function(){
// Setting initial values for prefilled input fields
var seek = "Search ..."; // values can be changed to whatever you want
// assigning the variables to the input form elements
$("#mod_search_searchword").val(seek); // setting a value for search field
// styling the input values for usability
$("#mod_search_searchword").css({color: "#666666", background: "#E4E4E4"});
// when inactive the greyed out color will be displayed
// END of setting initial values
// "Search ..." functions
// clearing the value for "Search ..."
$("#mod_search_searchword").focus(function(){
if($(this).val() == seek){
$(this).val("");
}
$("#mod_search_searchword").css({color: "#000000", background: "#FFFFFF"});
});
// entering the value of "Search ..." when user has not filled out form field
$("#mod_search_searchword").blur(function(){
if($(this).val() == ("")){
$(this).val(seek);
}
$("#mod_search_searchword").css({color: "#666666", background: "#E4E4E4"});
});
// END of "Search ..." functions
});



reiner krämer.
:)

Something I Learned Today...

"A corporate website is a complex beast, subject to the whims of management, marketing, personal design tastes, and customer feedback. When building or redesigning a site, it is critical to keep the company's primary objectives at the forefront of all design activity, and let the form follow the function. It is also critical to consider the best development platforms, from choosing a CMS platform to getting a good hosting solution. These decisions set the tone for the rest of the site's construction, and many future headaches can be avoided with some smart planning..."

Friday, July 4, 2008

Magic Logix Launches New Website!

Magic Logix is happy to announce the launch of our new website. The new site features cutting edge Web 2.0 technology, professional design and a more consistent overall look and feel.

Hassan Bawab, Managing Director, would like to personally thank everyone in our IT department who contributed to building the new website, especially Steve Floyd, Reiner Kramer, Brady Mathews and Ron Leon.

Please take the time to stop by www.magiclogix.com and let us know what you think!

Wednesday, July 2, 2008

Design 101



One of the most important aspects of the industry we are in is Graphic Design. Why is it so important? Perception is reality for most people. If your presentation is flawed or is viewed as amateur, all the sales, networking and customer service in the world won't fix the way a person looks at you and or your services.

In this blog I wanted to explain what the basics are for good graphic design. Hopefully by learning what goes into a well designed, balanced website or brochure, you will learn how to identify bad design practices and more importantly how to avoid them.

Good Graphic Design is clean, legible, appealing and attractive; it conveys a message that will encourage a response. A businesses designed collateral (their image) is what connects them with their customer. I am not going to get into all the different aspects of what makes a good website, the focus here is simply what are the basic components that go into a good design. The key elements of good design are as follows:

1. Typography
This is more or less the type of font(s) that you use. Typography is one of the most fundamental elements of design. This is often where bad designs begin. The wrong font can kill an entire theme and make the businesses using them look like hacks.

2. Color Theory
Remember the monochromatic color wheel in art class? Some colors work together, some don't. This is also another key part of design that gets overlooked. Having good color theory can be crucial when attempting to convey a concept or theme.

3. Concepts/ Themes
A good website, brochure, banner or even business card always starts with a relevant theme or concept. For example, you don't put butterflies on a bikers business card any more than you put skulls on a florists business card. You would be surprised how many designers in our industry don't understand this.

4. Composition
This is more or less how things are arranged within a given canvas or space. Bad composition is also where most bad designs start.

Summary
If one or all of these elements are not right, then you have effectively identified bad design practices. One of the best things about working with Magic Logix is that you can rest assured we keep a watchful eye on the quality and consistency of each and every graphic design project that comes through our desk.