Entries filed under 'Textpattern'

A lyrical plan

Filed under The Site, Textpattern on 5.11.05

One of the less-obvious things I added to this site for its recent reboot was a random song lyric tagline on the homepage. I wanted something that was interesting and kinda cool, but that didn’t require me to expend much mental energy to come up with.

Read the full entry... | Comment [8]

Hiding default links on the Textpattern 'write article' page

Filed under Textpattern on 5.08.05

On both a recent and a current project involving the Textpattern CMS, I have found that I needed to hide parts of the default article creation page (content > write) to avoid any confusion on the part of client users.

Read the full entry... | Add your comments [6]

...a kiss is just a kiss...

Filed under The Site, Textpattern on 14.05.05

I’ve made a slight change to the comments form here so that you don’t have to re-enter your details if you’ve previously commented.

Props to Rob Sable for his write-up on Textpattern comment forms.

Read the full entry... | Add your comments [1]

Taking the plunge with Textpattern

Filed under Textpattern, Design on 2.05.05

Okay, so I’ve decided to bite the bullet and develop my next freelance project using Textpattern RC3 to manage all the content.

It’s a small online store (100 or so different items in stock), and will be integrated with PayPal for sales. I’ve got a rough sort of idea in my head of how it’s going to hang together in Textpattern (articles = products, categories = ranges, comments = customer reviews), but only time will tell how easy it actually is to develop.

Read the full entry... | Add your comments

How to stop Textpattern and Textile formatting

Filed under Textpattern on 21.04.05

I’m sure everybody using Textpattern already knows this, but it’s a revelation to me. To ‘switch off’ Textile’s automatic formatting of certain elements – e.g. converting asterisks into bullets, or wrapping blocks of text in <p></p> tags – simply insert a space at the start of the line!

Read the full entry... | Add your comments

Ajax

Filed under Internet, Textpattern on 29.03.05

As part of the work I’m doing on the CSS Reboot website I’ve been having a tinker with AJAX for the first time – and now I’ve got it working, I have to say it is very hard to resist the temptation to apply it to absolutely everything!

Read the full entry... | Add your comments [1]

Killing comment spam in Textpattern

Filed under Textpattern on 25.01.05

Although it’s nothing like on the scale that the most popular blogs see it, I’ve been having problems with comment spam – mostly of the texas-holdem, online casino and herbal viagra variety – so tonight I decided to do something about it.

Comments are parsed by the comment.php file under textpattern/publish, and the function that we are interested in is saveComment(), around line 277.

Read the full entry... | Add your comments [13]

Hacking Textpattern for WCAG accessibility validation

Filed under Accessibility, Textpattern on 15.01.05

There are some minor niggling problems with the default Textpattern installation that mean that your site will never be able to claim WCAG accessibility compliance (and won’t validate using the W3C validation service) – but implement the changes below and all will be right with the world!

Read the full entry... | Add your comments [2]

Gravatars, and how not to show them

Filed under Internet, Textpattern on 18.11.04

Bandwagon-jumper that I am, I’ve now enabled Gravatars on this site. If you have one of these personal blog icons set up for the email address you use to comment, it will show up next to your comments.

The basic implementation instructions don’t mention how to not display the gravatar for those commenters who don’t have one, so here is how I accomplished it.

Read the full entry... | Add your comments [12]

Converting mdp_calendar to standards compliance

Filed under Textpattern on 15.07.04

I use the mdp_calendar Textpattern plugin on this site, but the standard installation doesn’t generate compliant XHTML.

Here’s a quick way to fix that (I found that the easiest way to amend the code is to cut and paste it into your favourite text editor, make changes, and then paste it back into the Textpattern plugin editor):

Read the full entry... | Add your comments

Older entries |