Textpattern CMS 4.3.0 released

It’s all going on in Textpattern CMS 4.3.0 so pull up a seat and be part of the coolest congregation on the planet.

New image tags, dashboard support, Textpacks, improved searching, better feeds, new admin-side markup for theme and plugin authors to hook into, not to mention the most significant upgrade to Textile in years. Textpattern CMS 4.3.0 is immediately available for download.


File download

Single-site install version, Zip format.
File size 469 kB | Created
File download

Multi-site install version, Gzip format.
File size 415 kB | Created

Tying the knot

This release is likely to be the last major 4.x release before Textpattern 5 and is therefore gearing itself towards this goal. While we have introduced some useful new features, the emphasis has been on maintaining backwards compatibility wherever possible and paving the way for Textpattern 5 in terms of making names, markup and behaviour more consistent across the interface.

Without further ado, let’s see what this marriage of form and function delivers…

Something old

While keeping the existing Textpattern 4.x in-laws happy was important, a few things have had to change. The ones that are most likely to affect your sites are:

  • <txp:css /> accepts a name attribute, attribute n is deprecated
  • <txp:image_index /> attribute c is now category
  • <txp:breadcrumb /> attribute sep is now separator
  • <txp:if_custom_field /> attribute val is now value
  • <txp:if_plugin /> attribute ver is now version

The so-called ‘friendly’ stylesheet rules editor has also been axed, along with the base64-encoding of sheets in the database. All your existing stylesheets will be migrated on upgrade.

The left hand side of the Write panel has been remodelled slightly to split some of the functionality previously under ‘Advanced options’ into more logical groups. The left hand column of the Styles panel has been removed (leaving a wider textarea) and the Forms panel has collapsible groups so you can twist away areas you don’t use. Throughout the interface, all such group toggle states are now remembered; including the tag builders.

A few other cosmetic and functional enhancements were made to the tabs under the Presentation area too so they’re a little more consistent.

Something new

Image tag support has been improved in this release. Images are now on par with the other content types and have their own dedicated tags:

  • <txp:images /> allows you to construct image galleries by category, name, ID or author
  • <txp:image_url /> displays URL information from the current image in the list (or standalone image)
  • <txp:image_date /> displays formatted date information from the current image in the list (or standalone image)
  • <txp:image_info /> displays any other image information such as caption, alt, width, height, etc from the current image in the list (or standalone image)

The existing image and thumbnail tags have been retrofitted to work automatically inside <txp:images />. The following two tags have also been introduced but are exclusively available inside a <txp:images> form or container:

  • <txp:image_author /> displays author information from the current image in the list
  • <txp:if_thumbnail> take action if the image has a thumbnail or not

Links and file downloads also have the ability to output author information with the new <txp:link_author /> and <txp:file_download_author /> tags. All of the _author tags (including <txp:meta_author />) now accept a title attribute which allows you to display the author’s real name or login name.

You can now set a file title if you wish: the <txp:file_download_name /> tag has been modified to accept a title attribute so you can choose which one to display.

Feeds have been beefed up too: you can offer multiple, comma-separated categories or sections in your feed URLs. And to facilitate serving static image content from external domains, a new constant ihu has been introduced.

On the admin side, for people who like to offer users a ‘dashboard’ when they log in, you previously had to hack the privs and/or bury the dashboard on the Extensions panel. Now there is a dedicated tab called ‘Home’ that appears before the Content tab. Dashboard plugins can use this to offer a more seamless workflow for clients.

Lastly—but by no means leastly—the concept of Textpacks has been introduced to allow you to more easily create, install and share language packs for plugins. Instead of hacking code, language packs will facilitate simpler plugin management and community-based i18n efforts. More details on this feature will be available as the new textpattern.org takes shape.

Something borrowed

Public-side searching of articles has been improved. The new match attribute to the <txp:search_input /> tag allows you to choose whether to match any of the words, all of the words or the exact phrase.

Since it was such a useful feature, this was also plagiarised and used in the <txp:if_custom_field> tag. You can now specify a match here so you can see if the custom field contains any or all of the words or it retains its exact match of 4.2.0 and earlier.

The fun doesn’t stop there though. For those of you who eat regular expressions for breakfast, you can also specify your own match pattern to compare the custom field against. And if you are in the habit of packing more than one item in your custom fields (using some separator character or glz_custom_fields, for example) you can use the new separator attribute and ask the tag if the given values appear in any or all of the individual items in your list.

Something blue

Well, OK, something yellow. After years of hard graft, The Carver has taken retirement to go and carve an existence in a remote hillside cottage. In his place is a shiny logo courtesy of Philipp Schilling (aka belipe).

You will also notice that successful logins are faster now (that has nothing to do with the Carver: we wish him well).

We are gathered here today to witness…

… the union of Textpattern with a new version of Textile. This is a significant leap forward for the markup system in Textpattern because, as well as fixing some outstanding bugs and niggles, Textile 2.2.0 has:

  • Improved i18n support
  • More robust processing with regards apostrophes and quotes
  • Automatically-updated note lists (Wikipedia style reference lists)
  • Definition lists
  • Class/ID/Style markers on individual and nested list items
  • Improved table functionality (thead, tfoot, tbody, caption, summary, colgroups, and empty cell support)
  • New glyphs for fractions, degrees and plusminus
  • Simpler self links
  • Comments
  • Performance enhancements

More information is available on Textile and Textpattern if you wish to delve deeper.

Signing the register

To help theme and plugin authors play in the Textpattern sandpit, a reference document will be supplied detailing the admin-side markup changes. It may mean you have to do things slightly differently to the way you have worked previously, but the advantage will be that your code or theme will be more likely to work in Textpattern 5. Or at the very least, require less effort to update it. More details will be released shortly.

In the meantime a few enhancements to the API have been made:

  • Callbacks on the Images tab so enhanced image processing plugins can be constructed
  • Two new functions—@article_format_info()@ and link_format_info() will help to shield you from Textpattern’s internals
  • The get_groups() function retrieves the current list of priv levels. This function is part of a planned priv/user management enhancement in Textpattern 5

The first dance

On the surface Textpattern CMS 4.3.0 is a nimble ballet dancer, but under its skirt are a pair of disco legs capable of rockin’ and rollin’ towards Textpattern 5.

Thank you to all the people in the community who have submitted patches, suggested features, tested, fixed and otherwise sweated over this release. It wouldn’t have been possible without you all.

We hope you enjoy this release and it continues to inspire everyone to create awesome web sites that command the attention of web visitors. After all, Textpattern attracts some of the most talented web professionals in the world today and continues to demonstrate it’s the site designers’ CMS.


  1. Great work guys! TXP FTW! :)

  2. Fabulous — well done all!

  3. Prost !

    & KThx…

  4. Is there any actual documentation on the updates to Textile? The linked article actually has no information on this, it’s just about splitting out the development of Textile/TXP.

  5. Hooray!

  6. Great news! Especially looking forward to use the new <txp:images /> tag. I couldn’t help noticing that Textbook isn’t updated yet with the new tags?

  7. Happy days! Thank you, Textpattern devs. @joel: see the forum and sitemonks.

  8. Thanks for this.

    Are the new Textile features documented somewhere?

  9. Awesome work folks – off to download an upgrade a shiny new project!

  10. I’ve been evaluating WP, EE, MODx for some past months now. The circle is now complete: back to TXP! Good job devs!

  11. TXP Rocks! #awesome

  12. Best news I’ve heard all week! I love you txp <3

  13. Congratulations #developers. Thanks for all your efforts.

  14. Great to see Textpattern improving and doing this in a well thought out fashion, Well done to all involved!

  15. @Stef Dawson, no pun intented. Glad you guys still work on this beautiful piece of software! Thanks!

  16. I am really glad to see the new version of Textpattern. Hooray! Hooray! Hooray!

    Thank you developers!

  17. Greatly appreciated – thanks guys !!

  18. You guys are so awesome. Thank you for perking up my weekend with new TXP goodness :)

  19. WOW!

    Thank you to all TXPheads who got this release out, nearly speechless, wasn’t expecting it so soon


  20. Bloody awesome work guys, thank you for everything you’ve done & for what you’re going to do!

  21. Top notch work guys. Thank you!

  22. very very very good! Great to have you here!

  23. Good work – can’t wait to try 4.3 out! The new tags look interesting :)


  24. excellent! excited to test!

  25. Many thanks to the devs !
    A happy user

  26. Great news! Thanks for all the good work!

  27. Good to see some development on good’ol Textpattern.

    Would be nice to have version 5.0 offer some sweet file-based template editing! A big pet peeve of mine, and yes I know there are workarounds, but that’s why I’d like a native solution.

  28. I’m happy that work on Textpattern continues. Keep up the good work, TXP team!

  29. Installed. Tested. Works like a charm. Thank you for this remarkable work !

  30. I just noticed that one problem is still present in the new Textile version. When you use reference-style links which point to https URLs, they are not rendered but displayed as text.


    ==“link text”:1==


    Will not work.

    Or am I missing something?

    P.S. I can’t get the Textile parser to leave the code alone.

  31. Hi Andreas,

    Seems to work for me. Try using a non-numeric label as the link reference — otherwise textile probably thinks you are inserting a foot-note.

    Hope that helps.

  32. Yeah, ready to upgrade. :D

  33. Very nice update, thanks, although I haven’t yet installed 4.3.0… Going to do that right now. :-)

  34. Thank you guys for your work and this great tool TXP!

  35. Wow, bunch of new features…, You guys are proving that the Textpattern is not just a CMS

  36. waaa >_< I can’t wait for TxP 5!! it might to get updated to the today’s look and handling!

  37. excellent! good job..

Commenting has expired for this article.