Posts Tagged ‘typo’

Typo/Rails bugging me

Monday, October 8th, 2007

So I just modified the layout slightly to my blog here, and what happened? Oh the front page stopped rendering, due to some filter chain stuff, which I know nothing about.

WTF? I had this happen before, forget what fixed it. It’s been restarted, now let’s see if this post helps

Mint within Typo (or other rails apps)

Thursday, April 12th, 2007

So I decided to splurge and throw down $30 for Mint since seemed like a lot of people love it, and it looks pretty awesome. Currently my blog is driven by Typo which is Ruby on Rails based. This means that my web folder has rewrite rules to push pretty much any path that isn’t a specific file into the rails app. So putting mint in there at /mint/ would mean it 404s when expecting to fetch index.php. So I just gave mint it’s own htaccess file that rewrites URLs to mint without filename to index.php.

RewriteRule ^mint/$ index.php [QSA]

RewriteRule ^([^.]+)$ $1.php [QSA]

RewriteCond %{REQUEST_FILENAME} !-f

I’m really not that sure if the last 2 lines were at all necessary, I’m thinking no due to the nature of mint, which pushes everything through index.php it looks like.

EDIT: Better yet, google first before just doing it myself and find out that this: Mint Stats for Your Ruby on Rails App has a lot more information and a better solution, not sure why I didn’t bother looking first.

Technorati Tags: , , ,

New theme, new features, yay

Wednesday, February 15th, 2006

So I upgraded the typo blog software running this to the latest ‘trunk’ version which has quite a few neat things. I also found a theme from the “typogarden”:http://typogarden.com theme contest that I really liked, called A Mad Tea Party. I gotta go in and put a limit on the content CSS though, it is 100% width which is not working so well. Also a new thing is what’s called Lightbox which is quite the nifty thing for putting images from flickr(or elsewhere) into posts with a built-in full size view. Check it out below:

-Apparently clicking on the image doesn’t work… not sure if it’s just my copy of typo or something I broke. Sadness ensues.-

Strike that, reverse it, fixed.

New Typo Theme I Might Use

Saturday, December 24th, 2005

I like the winning “Typo”:http://typo.leetsoft.com theme, which might be a bad thing to switch to in the sense that since it’s winning, everybody and their mom using Typo might switch to it.

It looks quite nice, has a fluid mode, etc.:
“Origami”:http://typo.leevigraham.com/

Was first place in the typo “theme contest”:http://typogarden.org