Piratizing your blog

Thanks to Dougal Campbell for writing a Pirate filter on his site. I copied the code and put it into a Smarty plugin. It’s available here for everyone on blogs.linux.ie to use as follows:

  1. Open the Template Editor of your blog and bring up the “Posting” template.
  2. Look for the {$the_content} variable in there.
  3. You have to pass that variable to the pirate function: {pirate content=$the_content}. If you’re using the highlightsearch modifier, then use this code instead: {pirate content=$the_content|highlightsearch}.
  4. Save the template and reload your blog. If it doesn’t update, then click on the “Refresh Site” link in the backend.

Oh, of course, it’ll only work today, as it’s Talk Like a Pirate Day!
UF has a special Pirate Talk Day feature today! 🙂

2 thoughts on “Piratizing your blog

Leave a Reply

%d bloggers like this:

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close