What am I doing now?
Code Igniter and error pages 
Thursday, April 17, 2008, 11:13 AM - General
Posted by Administrator
Code Igniter (CI) uses default error pages to handle the variety of errors from the system. All of these error pages are stored in the errors folder off of the application folder. I use includes in my site for the header, footer and side column to enforce uniformity; on the 404 pages, if you have your htaccess setup correctly, you can use the same includes. The error pages are outside of the code igniter's functionality, which is why this is important, as the ability to do extra things (like access a database, for example) aren't present. Using the routing, you could direct (after the 404 redirect) visitors to an error page within the CI framework, but the redirected page won't register as a 404 page (thus throwing off the search engines and visitor's links as they won't return an error code).

You can, however hard code some content ad even have a form that points to a CI framework function (which will return them to another CI page, off of the error page).

Happy coding.
add comment   |  0 trackbacks   |  permalink   |   ( 3.1 / 32 )
Tax day 
Monday, April 14, 2008, 10:24 AM - General, Book
Posted by Administrator
Tax day for the USA federal taxes is due tomorrow!

If you're paying too much in tax (and ... most likely you are) - you need to grab this book and get it going for this year. I've read this book and I've saved (real money) THOUSANDS of dollars from the advice in the book. Everything is backed up by citing cases, citing laws or using the regulations from the IRS - this isn't "get out of taxes" this is treating your taxes like any other business expense. You eliminate business expenses you can, reduce those when ever possible - this book applies the same cost cutting measures to your tax bill without breaking the law.

Get it, learn it and SAVE money!

- there are TWO tax systems in this country, not the rich/poor that you probably think, but employee verse employer/owner.
- If there is a will, their is an attorney and this book shows that.
add comment   |  0 trackbacks   |  permalink   |  related link   |   ( 3 / 30 )
MAC user needed 
Friday, April 11, 2008, 12:03 PM - Extensions, Dreamweaver
Posted by Administrator
I need to test a new extension, if you're a Mac user, I need you :)
This extension is to test if the WYSIWYG editor installs correctly (and works).
You get a license of the product (and, honestly, this shouldn't take more than 30 minutes of your time)

Email me :)
add comment ( 1 view )   |  0 trackbacks   |  permalink   |   ( 3 / 30 )
Using a SELECT form field to disable another field. 
Thursday, April 10, 2008, 10:32 AM - Scripts
Posted by Administrator
If you need to selectively disable fields based upon a select statement, the code to do this is pretty simple:


<form id="form1" name="form1" method="post" action="">
<label for="select"></label>
<select name="select" id="select" onChange="document.getElementById('field1').disabled=(this.selectedIndex==0)?'':'disabled'">
<option value="Y">Yes</option>
<option value="N">No</option>
</select>
<label for="field1"></label>
<input type="text" name="field1" id="field1" />
</form>


Just need to make sure that the field you're disabling has an ID set (and you use it in the select statement's onChange)
add comment   |  0 trackbacks   |  permalink   |   ( 3 / 36 )
Adobe Contribute KILLER 
Wednesday, April 9, 2008, 08:31 AM - General
Posted by Administrator
One of the frustrating things for me, as a coder, is working with Contribute enabled sites, because they use templates and, usually, because it is all static pages. Today, I stumbled across a product that will absolutely KILL Contribute - and it is FREE!

Check it out:
http://www.cushycms.com/
add comment   |  0 trackbacks   |  permalink   |  related link   |   ( 3.1 / 32 )

| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Next> Last>>