General BlogsSite RedesignCategories: This site is currently under construction . . . but feel free to look around :) Drupal 6 Upgrade StepsCategories: 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 Designing Universal HTML Emails with CSS - A Browser Support ChecklistCategories: 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 insideCategories: 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: Example 2: Cross Browser Testing Using Online ServicesCategories: 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 ExistsCategories: The following PHP function checks to see if a particular taxonomy id (term name) exists: <?php How to Turn Off Windows Automatic UpdatesCategories: Windows Automatic Updates - what a pain! To disable Windows Automatic Updates in Windows XP, do the following: PHP Script $_SERVER["REQUEST_URI"] to Check for a Particular URL PathCategories: The following PHP script checks to see if a url argument is TRUE: <?php Drupal 6 Page VariablesCategories: Here is a list of available variables within page.tpl for Drupal 6: General utility variables: |