Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-03-17 18:04:45

mandia
New Member
Registered: 2011-03-17
Posts: 2

Custom post types

Hey all,

I’ve decided to move away from Wordpress and try Textpattern. Before I fully switch, I wanted to see if it was possible to create custom post types? (links, pictures, etc) similar to Tumblr. I’ve searched all over and I can’t seem to find a definitive answer.

Thanks!

Offline

#2 2011-03-17 18:36:17

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: Custom post types

Native “content” type in txp are articles/post, images, link, files. All have their tags to output in pages, but only articles allow comments.

If you need to post different kind of content as a unique list of different elements, all with comments capability, you should go for articles. Articles can contain any type of content. You can have links in articles. Image(s) in articles. Files in articles. Some useful plugin to create an easy association between images and files in an article are bot_ plugins: bot_upload_image and bot_file. (search forum for direct link).

Depending on your filtering needs, you could set a specific category for an article (i.e., cat “images” for articles with just images, cat “link” for links, etc.). Or you may want to use keywords/tag (tru_tags and smd_tags are useful plugin to extend tagging capabilities in creative ways).

You could also use different sections for articles: images, or links. It is not reccomended if you want to list them together (even if you can do that anyway), but you can achieve nearly all combination of content type dipending on your needs.

If you use sections, you could use bot_wtc plugin to show/hide specific UI widget in the write tab to show only relevant fields (article image fields only in image section, etc).

TXP is good for customizing, often via robust plugins. It could take more time than WP to get a starting point, but has its reward on flexibility. Feel free to ask more specific question if needed.

Offline

#3 2011-03-17 18:42:19

maruchan
Member
From: Ukiah, California
Registered: 2010-06-12
Posts: 596
Website

Re: Custom post types

Front end: Everyone will think you’ve got a tumblr site.

Back end: Everything is still just an “article.” A lot of people are adding custom fields so that an article in one section would look more like a book review (fields for ISBN, price, etc.) and an article in another section would look more like a normal article. But still, you’re going to be editing “articles.”

If you’re OK with that, you’re good to go.

There are a few Textpattern sites that look like Tumblr sites, and I’ve seen many Tumblr sites that look like Textpattern sites.

Last edited by maruchan (2011-03-17 18:45:42)

Offline

#4 2011-03-17 19:42:09

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

Re: Custom post types

Unlike Matt Mullenweg and Glenn Reynolds, I have never been a big fan of Aside-style title-free blogging, and Textpattern is extremely partial to having a title for each post: see Txp-Tumblog.

But you can control your own output, after all.

Offline

#5 2011-03-19 03:03:45

maruchan
Member
From: Ukiah, California
Registered: 2010-06-12
Posts: 596
Website

Re: Custom post types

Noticed this today, too: build a tumblelog in Textpattern

Offline

#6 2011-03-22 13:22:17

mandia
New Member
Registered: 2011-03-17
Posts: 2

Re: Custom post types

Thanks for all the help guys!

Offline

Board footer

Powered by FluxBB