Welcome to lightyear design

We specialize in producing affordable, high quality web sites and custom, online applications: from online financial calculators, to sophisicated content management systems, we can build it for you.

ExpressionEngine: display a navigation menu if an entry is assigned a specific category.

As an avid ExpressionEngine user, I like to dynamically generate as much as I can. This also includes the dynamic generation of navigation menus, naturally. However, there are times when I will use an entry as a static navigation menu by assigned it a specific URL TITLE (for example: whats_new or righthand_menu). Now, in the [...]

Thantos ExpressionEngine

ExpressionEngine search results: custom template paths for section URLs with categories

We use ExpressionEngine on a number of supported sites, and I tend to use ExpressionEngine’s (EE) internal search mechanism whenever feasible. The search results are generated from path setting specified at Admin › Weblog Administration › Weblog Management › Edit Weblog Preferences› Path Settings › Search Results URL . For example, setting the Search Results [...]

Thantos ExpressionEngine

Library Not Registered Javascript error with SharePoint and Internet Explorer 8

We use SharePoint 3.0 for quite a bit of document collaboration. Unfortunately, when using Internet Explorer 8, an error is thrown when we attempted to upload multiple documents within SharePoint. The error details mention Library Not Registered. Luckily, there is an easy fix: Open up any MS Office 2007 product. In my instance, I used [...]

Thantos Office 2007

Applying Word Wrap to columns in Excel

We have to convert a lot of Microsoft Excel sheets to PDF format.  Unfortunately, multi-column sheets (for example, 5 columns of contact information: names, addresses, email addresses) take up a lot of real estate, so Adobe PDF usually breaks the sheet into 2 or more pages of columns.   One easy way around this is to [...]

Thantos Office 2007

Save a semi-colon delimited file in Microsoft Excel

Microsoft Excel is a great program, especially when you are created delimited files to import into MySQL databases. However, when you have commas within data columns, using commas as the delimiter will ruin your day. A better approach is to use semi-colons as the delimiter…But Excel does not give you this option. So, the easiest [...]

Thantos Office 2007

Harden your At-home Wi-Fi Security

So you have a wi-fi home network. Have you secured it? Or, did you just plug it in and started surfing? If you just plugged it in, chances are that you are giving your neighbors access to your network. I doubt if they will thank you for the freebie, so here are some steps to [...]

Thantos network

Importing Messages from Outlook to Gmail

I have a ton of messages in my Personal Folder in Outlook 2007. However, I want to quickly add them to my gmail account. After a bit of research, I found an easy, straightforward method to do just that. First, we will need to enable IMAP in Gmail: Sign in to your Gmail account. Click [...]

Thantos Office 2007

Simplified PHP Input Validation for forms

When it comes to online forms, gathering information from the user is of utmost importance. That being said, one must ensure that the user enters the correct information in the form, especially from a security point of view…Input from users in a web form provides a direct avenue of attack into the application (just google [...]

Thantos PHP

LDAP and PHP login script

Authenticating users of your web applications can be tedious, especially when your users are expected to remember multiple passwords (which can become a security vulnerability in it’s own right). That being said, integrating your login scripts with Active Directory/LDAP can be beneficial for a variety reasons: stronger passwords, fewer login credentials for your user to [...]

Thantos PHP

Serving css to iPhones and other mobile devices

Do you need to send iPhones and other mobile devices to a separate stylesheet for your phone?  You can use the following code:

CSS