Issues with Typo 5.2: XMLRPC and page breaks.
Took me a while to figure this one out, so I thought I’d make a little post about it:
When using the Typo 5.2 gem to install Typo, XMLRPC doesn’t work. There is a fix on that page, but there aren’t any clear directions for people who aren’t familiar with the workings of Ruby on Rails applications, here is how I applied the fix.
Edit environment.rb from the typo-5.2 gem:
Code:
nano /usr/lib/ruby/gems/1.8/gems/typo-5.2/config/environment.rbAdd these two lines to this file, I added them at around line number 53:
Code:
config.gem 'datanoise-actionwebservice', :version => '2.2.2', :lib => 'actionwebservice', :source => 'http://gems.github.com'
config.gem 'mislav-will_paginate', :version => '2.3.7', :lib => 'will_paginate', :source => 'http://gems.github.com'I now made a backup of my database.yml and mongrel_cluster.yml files (located in [typo blog directory]/config) and reinstalled typo:
Code:
typo install [path to typo blog directory]Then restart your mongrel_rails cluster (or whatever you use to run Typo..):
Code:
mongrel_rails cluster::restartAnd you too should be able to use desktop publishing apps with Typo 5.2!
Page breaks using the visual editor in Typo Admin:
When using the visual editor in the Typo web admin to write articles for your blog, page breaks are created like this:
Code:
<div style="page-break-after: always;"><span style="display: none;"> </span></div>This is wrong, page breaks should be written like this:
Code:
<!--more-->Thanks to neuro` at #typo on FreeNode for this one!
Happy blogging!
Posted in blog, Tutorials | no comments |
Trackbacks
Use the following link to trackback from your own site:
http://quintinsmits.com/trackbacks?article_id=22