Thursday 04 November 2010 by
Textpattern CMS 4.3.0 is immediately available for download.
Tying the knot
This release is likely to be the last major 4.x release before TXP 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 TXP 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 TXP 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 anameattribute. Attributenis deprecated<txp:image_index />attributecis nowcategory<txp:breadcrumb />attributesepis nowseparator<txp:if_custom_field />attributevalis nowvalue<txp:if_plugin />attributeveris nowversion
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 tab 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 tab has been removed (leaving a wider textarea) and the Forms tab 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 tab. 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 TXP 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 TXP if you wish to delve deeper.
Signing the register
To help theme and plugin authors play in the TXP 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 TXP 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()andlink_format_info()will help to shield you from TXP’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 TXP 5
The first dance
On the surface TXP 4.3.0 is a nimble ballet dancer, but under its skirt are a pair of disco legs capable of rockin’ and rollin’ towards TXP 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.





Great work guys! TXP FTW! :)
04 Nov 10
Filipe Varela
Fabulous — well done all!
04 Nov 10
John Foley
Prost !
& KThx…
04 Nov 10
Guillaume Stricher
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.
04 Nov 10
Joel
Hooray!
04 Nov 10
Jason Das
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?
04 Nov 10
nejra
Happy days! Thank you, txp devs. @joel: see the forum and sitemonks
04 Nov 10
JanDW
@nejra: Easy tiger… editing Textbook isn’t a five minute job! But I’ve made a start and done 95% of the new tags and attributes in the last half hour thanks to some judicial preparatory work by all the editors in the community: many thanks to everyone involved. A couple of tags to mop up yet (anyone?)
Note that the Images page is currently not quite right because it’s got a capital ‘I’ (it used to be the “Images (panel)” page) so it’s not showing up properly. It also needs some more examples. Someone who knows more about the wiki than me can probably fix the fact that [[images]] is a red link, as well as go through the list of documents that reference the old [[Images]] page and change it to [[Images (panel)|Images]]. Gurp! I made a start last night but it’s a big job.
04 Nov 10
Stef Dawson
Thanks for this.
Are the new Textile features documented somewhere?
04 Nov 10
Andreas Kalt
@Andreas Kalt: See JanDW’s post two above yours. Until we get a new official home for Textile the sitemonks site is the closest you’ll get to documentation of the new features.
04 Nov 10
Stef Dawson
Thought this should be mentioned too: a few plugins might have some issues with 4.3.0.
04 Nov 10
JanDW
Awesome work folks – off to download an upgrade a shiny new project!
04 Nov 10
Damien Buckley
I’ve been evaluating WP, EE, MODx for some past months now. The circle is now complete: back to TXP! Good job devs!
04 Nov 10
Zab
TXP Rocks! #awesome
05 Nov 10
Viking KARWUR
Best news I’ve heard all week! I love you txp <3
05 Nov 10
Cal Wilson
Congratulations #developers. Thanks for all your efforts.
05 Nov 10
Neko
Great to see Textpattern improving and doing this in a well thought out fashion, Well done to all involved!
05 Nov 10
Simon
@Stef Dawson, no pun intented. Glad you guys still work on this beautiful piece of software! Thanks!
05 Nov 10
nejra
I am really glad to see the new version of Textpattern. Hooray! Hooray! Hooray!
Thank you developers!
05 Nov 10
cxn
Greatly appreciated – thanks guys !!
05 Nov 10
Bo Joergensen
You guys are so awesome. Thank you for perking up my weekend with new TXP goodness :)
06 Nov 10
Pete
WOW!
Thank you to all TXPheads who got this release out, nearly speechless, wasn’t expecting it so soon
\o/
07 Nov 10
Alan
Bloody awesome work guys, thank you for everything you’ve done & for what you’re going to do!
07 Nov 10
Zander Martineau
Top notch work guys. Thank you!
07 Nov 10
Mike
very very very good! Great to have you here!
08 Nov 10
Michael Schlierbach
Good work – can’t wait to try 4.3 out! The new tags look interesting :)
Nick
08 Nov 10
FCS Web Design Nottingham
excellent! excited to test!
09 Nov 10
jan
Many thanks to the devs !
A happy user
09 Nov 10
Pascal
Great news! Thanks for all the good work!
09 Nov 10
Mats
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.
09 Nov 10
WebMatros
I’m happy that work on Textpattern continues. Keep up the good work, TXP team!
10 Nov 10
Willie Galang
Installed. Tested. Works like a charm. Thank you for this remarkable work !
10 Nov 10
Staminic
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.
E.g.
==“link text”:1==
==1https://docs.google.com/leaf?…==
Will not work.
Or am I missing something?
P.S. I can’t get the Textile parser to leave the code alone.
12 Nov 10
Andreas Kalt
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.
You can test it here.
The above link was constructed by textile using a link reference of “sitemonks”.
Hope that helps.
12 Nov 10
net-carver
Doesn’t work for me.
This is the text
And this is the result
12 Nov 10
Andreas Kalt
Yeah, ready to upgrade. :D
13 Nov 10
ArdianZzZ
Very nice update, thanks, although I haven’t yet installed 4.3.0… Going to do that right now. :-)
16 Nov 10
Petri
Thank you guys for your work and this great tool TXP!
22 Nov 10
Matthias
Wow, bunch of new features…, You guys are proving that the Textpattern is not just a CMS
22 Nov 10
Muhammad Yoosuf
waaa >_< I can’t wait for TxP 5!! it might to get updated to the today’s look and handling!
03 Dec 10
gosunkugi
excellent! good job..
09 Dec 10
nisa sanjaya