Textpattern 1.0RC3 · 20.02.05

As you probably know, the third release candidate of Texpattern 1.0 is out. You should know that I’ve been on the development progress for this TXP release too and, of course, that I haven’t updated the Tag Manual since May.

Jeff Soo has sent my a nice revision of the manual made by an english speaker person – which was, of course needed: to admit your limitations is the first step to solve them – and I have to properly update the existing texts, add more examples and the new tags.

Johanes Gamper is currently translating the manual to German; Hideo Joho to Japanish and TTX – my work partner – is helping me on the spanish translation.

Main idea is to collaborate with the full manual to Textpattern Book but – AIM talks are very amusing sometimes – I’ve said Dean that I jib to write on a wiki instead of use TXP to document TXP!. He is, more or less, persuaded, once wikis are now one of the favourites spammers places. Other option is to use Hieraki, this rails app really rocks, and is focused on books, so… .

* * *

Textpattern Tag Manual Changelog · 8.06.04

June, 08 2004.

June, 06 2004.

April, 12 2004.

April, 11 2004.

To Do list:

Anything more which you want to see on this manual? [2]

* * *

Article Form Tags · 8.06.04

The next group of tags involves all tags which can appear inside an article form, determining the article parts that will be shown on our page, in function of the form we’re choosed to use for that article.

Comment [1]

* * *

Image Tags · 8.06.04

You can easily build your photo galleries using textpattern, even though image tags are not in TEXTPATTERN TAG BUILDER yet.

Next instructions are stolen directly from Textpattern Forum (thanks Dean):

First, you must upload fullsize images and corresponding thumbnails, and make sure each is in a specific category (keep the image category names simple: without spaces if possible, ‘newyear_2004’ for example).

To make an image gallery page:

  1. Create a new Page called something like ‘photo_page’
  2. Create a new section called something like ‘photo’, and tell it to use ‘photo_page’.
  3. In photo_page, put the tag <txp:image_index /> wherever you want the index to appear: a good idea would be to use a <div> and CSS to govern the space available for the index, and how the <img /> tags should be positioned.
  4. Wherever you want the fullsize image to appear on the page, put a <txp:image_display /> tag.

Then to call the gallery page (provided it is in the section ‘photo’), use:

your-txp-site.com/photo/?c=IMAGECATEGORY

At the same forum post you can find also 2 easy to use templates.

Now, a small description of these two tags:

The <txp:image_index /> tag

This tag will output a list containing all the thumbnails for a given category of images in our TXP installation. Of course, our images need to have a thumbnail, in order to display them on this index.

You can specify the attribute c to this tag in order to specify a default category for the images you want to display. If you don’t specify it, you need to pass to your image pages, at the end of the url, ?c=IMAGECATEGORY, where IMAGECATEGORY is the category of the images you want to show.

The <txp:image_display /> tag

Once we’ve created our image index, we can place this tag anywhere on the page, to show the image pointed by the thumbnails.

The <txp:thumbnail /> tag

[Avaliable since γ1.19]

Whith this tag we can output one of the thumbnails on our TXP image section anywhere in our pages. Of course, that thumbnails must exists in order to be displayed.

This tag can takes the next attributes:

Note that if both name and id attributes are present at once, the name value will override the id one.

Comment [2]

* * *

Article Related Tags · 6.06.04

The <txp:article /> tag

Being probably the most important of all TXP tags, the <txp:article /> tag is a single page column tag – due to it will appear on page templates – which will be replaced by one or more articles, depending on the context it is being processed.

If TXP detects we’re requesting a determinated article, it will show that article. Otherwise, it will show a list of articles.

Can take one or more of the following attributes:

The <txp:article_custom /> tag

This is very similar to <txp:article />, and is intended to be used when a high degree of customization is required to show one or more articles. For this reason, it can take a lot of attributes:

Comment

* * *

« Prev Page |