Twitter

8.November.08 - Saturday

Adding a CodeIgniter Book to Panic Software’s Coda

Although Textmate is my primary editor, I have been using Coda here and there to bang out quick front end code. I am not so hot at CSS layouts so the CSS builder is a nice way to control my CSS files and keep them all pretty. I use Codeigniter here and there, and I am using it for a project that I am building now.

Here is how you can add the Codeigniter documentation as a book to Coda.

  1. Open Coda and select the books tab
  2. From the books tab in the bottom left, press the + button
  3. Open Safari and grab the Coda book cover for Codeigniter that the user veddermatic created here.
  4. Copy the image to your desktop, then Drag it into the Cover Image box.
  5. Put in the following information
    • Book Title: Code Igniter
    • Book Url: http://codeigniter.com/user_guide/
  6. Click Add

If you would like to add a local book

Having the books on the net are nice because they are updated, but what do you do if you need to browse documentation when you are not connected to the internet? Well, plane and train trips are no longer an issue.

Download the latest copy of CodeIgniter, extract it, then copy the user_guide directory into your Documents folder.

Add this entry to your httpd.conf for Apache or MAMP.


Alias /user_guide "/Users/<your_username>/Documents/user_guide"

<Directory "/Users/<your_username>/Documents/user_guide">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Now when you insert the “Book Url:” point it at your localhost.

http://localhost/user_guide

and it will bring up the userguide installed locally.

Your done, enjoy.

:{)

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Reddit
  • del.icio.us
  • StumbleUpon
  • MisterWong
  • Webnews
  • YahooMyWeb