Trent Wyman


Welcome

Trent Wyman is a life long artist with skills in graphic design, illustration, interactive media creation, and web development. A graduate from the Art Institute Of Atlanta (BFA - Interactive Media Design), Trent is currently working as a Drupal Consultant (Developer & Theming Specialist) for Mediacurrent Interactive Solutions.


Theming Drupal Menus (Drupalcamp Atlanta 2009 Presentation by Trent Wyman)

This presentation was given at Drupalcamp Atlanta 2009 at Kennesaw State University. In this lecture, I cover techniques for theming primary, secondary, and tertiary level links into collapsible & expandable menus.


Embedding a Drupal View into a Node Template (.tpl)

The script below is an example of how to embed a view into a node template (.tpl file) in Drupal.

<?php
/* Invoke the views module and assign to a variable */
$myVar = module_invoke('views', 'block' , 'view', 'my-block_id');
/* Note: replace the parameter "block" with "page" to embed a page view instead */
?>

<?php
/* Display the view by printing the variable */
print $myVar['content'];
?>


Drupal 6 Upgrade Steps

1) Backup & Copy site files & database to a Local Site and/or Staging Server, including .htaccess, robots.txt, sites directory (settings.php), contrib modules, custom theme, & files directory. Setup a "Legacy" version of the site to reference original config settings and content without disturbing the live site. Setup a "Working" version in which to perform upgrade.

2) Perform a Module Audit and create a spreadsheet of the audit for the for the site. This will become a useful reference document for the site to help note which modules may have been orphaned, replaced, etc.


SEO Basics, Meta Tags, Meta Description, Page Title, etc.

Title Element

The page title element (some refer to it as the title tag which is incorrect) is one of the most important factors for ranking highly in the search engines.

Page title elements are normally 3-9 words (60-80 characters) maximum in length, no fluff, straight and to the point. This is what shows up in most search engine results as a link back to your page.

Make sure your Page Title Element (title tag) is relevant to the content on the page.

References
* W3C - 7.4.2 The TITLE element


Designing Universal HTML Emails with CSS - A Browser Support Checklist

Designing an HTML email that renders consistently across the major email clients can be very tedious and time consuming. Support for even simple CSS varies considerably between email clients, and even different versions of the same client. Here is a checklist to compare what CSS styles are allowed by various email browsers such as Outlook, Yahoo, Hotmail, Apple iPhone, Gmail, Lotus, & AOL.


How to clear a form field value when a user clicks inside

To display text within a form field and have that text disappear when a user clicks inside the field, add one of the following scripts to the element:

Example 1:
<input onfocus="this.value=''" type="text" value="some text" />

Example 2:
<input onfocus="this.select()" type="text" value="some text" />


Cross Browser Testing Using Online Services

There are times when browsers render CSS and HTML differently depending on the platform and browser being used. Usually, I can check for cross-browser consistency using only Windows and variety of installed browsers for Windows (Internet Explorer, FireFox, Safari, Google Chrome, etc.). However, there is sometimes major differences in how the PC version of a browser renders a page v/s the Mac version of a particular browser. I have noticed this most in Safari between Windows and Mac.


Drupal - PHP Function to Check if Taxonomy Term Name Exists

The following PHP function checks to see if a particular taxonomy id (term name) exists:

<?php
if(!empty($node->taxonomy) && $node->taxonomy[6]-->name == 'Term-name-here'){
print 'Term exists';
}else{
print 'Term does not exist';
}
?>


How to Turn Off Windows Automatic Updates

Windows Automatic Updates - what a pain!
Often with unexpected results.

To disable Windows Automatic Updates in Windows XP, do the following:
1) Open the "Start" menu
2) Go into "Control Panels"
3) Open "System"
4) Click the "Automatic Updates" tab
5) Select the "Turn Off Automatic Updates" option


Announcements

Drupalcamp Atlanta Attendee

Drupalcamp 2010 Presentation

Oct. 2nd, 2010 @ Georgia Tech Research Institute
This year at Drupalcamp Atlanta, I plan to give a lecture on setting up a "Multi-Language site for Non-Programmers" using Drupal.
Learn more...


Press Release:
Michael C. Carlos Museum

Read the press release announcing the Drupal redesign of Emory University's Michael C. Carlos Museum.
View Press Release


Current weather

GA - Marietta / Dobbins Air Force Base

Broken clouds
  • Broken clouds
  • Temperature: 71.6 °F
  • Wind: Calm
  • Rel. Humidity: 88 %
  • Sunrise: 06:16
  • Sunset: 18:55
Reported on:
Thu, 09/09/2010 - 06:56
Syndicate content