Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Official announcements
  3. » Textpattern 4.0.2 Released

#1 2005-11-01 15:23:47

Dean
Founder (Gone, but not forgotten)
From: Languedoc
Registered: 2004-02-14
Posts: 235
Website

Textpattern 4.0.2 Released

Available as ever on the download page.

This release owes everything to the great great work of Alex, Pedro and Sencer, and to the wonderful suggestions, contributions and patches coming from all of you. I’m constantly amazed at how mature and well-tuned Textpattern has become.

Changes since 4.0.1:

  • fixed a bug in 404 handling on some fastcgi servers
  • fixed a bug that prevented file_download_list from working properly
  • fixed a redirection bug in the comment form
  • fixed occasional category URL i18n problems
  • removed extra trailing slash in some breadcrumb links
  • made articles by author work properly
  • Made feed_link support section and category correctly
  • added correct content type to popup comments page
  • fixed an obscure feed caching bug
  • fixed a possible circular dependencies problem when loading plugins
  • fixed timestamps in Atom feeds
  • fixed occasional Atom encoding issues
  • UI improvements when creating/copying/deleting styles
  • improved performance when loading languages
  • made date-based permlinks work properly in comment emails
  • better handling of invalid login cookies
  • Added page templates for 404 (and other) error pages
  • minor Atom validation improvements
  • improved comment conditionals logic – txp:if_comments now means “if the current article has at least 1 comment”
  • minor performance improvements
  • new txp:if_status and txp:page_url tags
  • config.php whitespace no longer breaks stylesheets
  • UI improvements to javascript toggles
  • improved comment input form HTML markup
  • improved txp:section and txp:category tags
  • new tags: txp:if_different, txp:if_first_article, txp:if_last_article
  • localized the XML feed link title
  • better encoding of article titles
  • fixed rare problems caused by magic_quotes_runtime
  • improved file upload forms
  • new language: Latvian
  • added support for section and category titles in txp:breadcrumb
  • decimals=0 in txp:file_download_size tag now allowed
  • minor diagnostic info changes
  • added new labeltag attribute on most list tags
  • restored use_textile preference
  • minor HTML validation fixes
  • developers: added new safe_upsert() database function
  • now fall back to English if no language data is available
  • support comma-separated names in txp:if_category and txp:if_section
  • offending tags are now named when displaying error messages in templates and forms
  • added include_default attribute to txp:section_list
  • add support for changing status and section on multiple articles at once
  • fixed nested category titles in txp:breadcrumb
  • improved comment message markup
  • restored the comments_closed message
  • better handling of per-article ‘Use Textile’ options
  • added css class attribute to comments_invite
  • added 4 attributes to comments_invite: showcount, wraptag, textonly (just the invite) and showalways (also display on individual article-pages). Example: <comments_invite wraptag="p" showcount="0" textonly="1" showalways="1" />
  • c-style backslash sequences in tag attributes are now supported
  • fixed some rare bugs in feeds, admin list paging
  • added a pageby attribute to txp:article, for multi-column lists
  • fixed txp:link_to_next/prev so they work at the top of a page
  • minor speed improvements
  • new class and linkclass attributes for txp:breadcrumb tag
  • added txp:comments_preview and txp:if_comments_preview tags
  • fixed unparsed excerpts in feeds.
  • Textile: smarter handling of relative link and image paths
  • Textile: stopped footnote links from clashing in article lists
  • Add fi_FI locale support

text*

Offline

#2 2005-11-01 15:30:57

skoggy
Member
From: Westcoast of Sweden
Registered: 2005-03-27
Posts: 209
Website

Re: Textpattern 4.0.2 Released

Yes! :) been waiting for this. Thanx a lot for your wonderful work!

Offline

#3 2005-11-01 15:36:39

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,370

Re: Textpattern 4.0.2 Released

Many thx you devs and btw big thank you for the dev blog!!!
lots of regards out to France, Spain, Australia and for Sencer to Cologne :)

Last edited by alexandra (2005-11-01 15:37:36)

Offline

#4 2005-11-01 15:37:32

neutrino
Member
From: East of the Diablo Range
Registered: 2005-06-16
Posts: 134
Website

Re: Textpattern 4.0.2 Released

cl<—woofing and clapping . . .

Offline

#5 2005-11-01 15:52:18

Vincent Jacobs
New Member
Registered: 2005-09-15
Posts: 4

Re: Textpattern 4.0.2 Released

I’ve been working on my site all day and noticed a coupla bugs, which are all fixed now… :-) Great going guys, thanks!

Offline

#6 2005-11-01 15:58:10

jonhicks
Member
From: Oxfordshire UK
Registered: 2004-03-22
Posts: 256
Website

Re: Textpattern 4.0.2 Released

Yay!!

Any hints on what the new txp:if_status and txp:page_url tags do?


Cheers,
Jon VC#9

Offline

#7 2005-11-01 16:12:57

Dean
Founder (Gone, but not forgotten)
From: Languedoc
Registered: 2004-02-14
Posts: 235
Website

Re: Textpattern 4.0.2 Released

txp:page_url is simply the request_uri that called the current page.

txp:if_status allows you to do custom stuff based on http status, eg:

<code><txp:if_status status=“404”><txp:output_form form=“page_not_found_message” /></txp:if_status></code>


text*

Offline

#8 2005-11-01 16:16:44

kusor
Member
From: Spain
Registered: 2004-03-07
Posts: 93
Website

Re: Textpattern 4.0.2 Released

That’s it:

Both are intended to be used into error pages

if_status: If there is a server status message, and that code matches the one you’ve setting up into the status tag attribute, the conditional will be true. False otherwise.

page_url: display the url of the requested page – which should be the page which causes the error

Offline

#9 2005-11-01 16:19:31

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: Textpattern 4.0.2 Released

Bravo :-)

Offline

#10 2005-11-01 16:27:44

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: Textpattern 4.0.2 Released

Excellent! Thank you all!

Last edited by andreas (2005-11-01 16:27:56)

Offline

#11 2005-11-01 16:33:21

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

Re: Textpattern 4.0.2 Released

Perfect timing. I was in the mood to do some major site changes today, and this will help immensely.

Offline

#12 2005-11-01 17:02:30

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Textpattern 4.0.2 Released

Merci beaucoup, thanks you very much, vielen dank, y muchas gracias!

BTW, I have never really understood the problem with comments conditional logic.
Was that problem the reason that in a default 4.0.1 installation you get empty <code><p></p></code> tag in individual articles where comments should be displayed?.

Whatever it was, now it’s fixed!
Starting to upgrade….


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

  1. Index
  2. » Official announcements
  3. » Textpattern 4.0.2 Released

Board footer

Powered by FluxBB