Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-11-02 16:47:07

oyster
New Member
Registered: 2010-11-01
Posts: 5

Can Textpattern do this?

Hi,

I would like to create a web site for a client and have been considering a Textpattern but I just can not make up my mind if it would be a good choice.

The site would have sections such as home, contact, about as well as rentals and sales.

In the rentals and sales sections there I need to list information for about 60 products from 20 different manufacturers.

As you see I would have a need for lots of categories for each manufactures and each products since two different companies can offer the same product.

To my understanding of Textpattern the categories are only for organizing the content on the admin side of the CMS or there is a limit of only 2 categories.

I want to implement a clean urls and breadcrumbs for sections and lots of categories.

Hopefully you get the idea.

If you have experience with this CMS could you tell me, can I do this with Textpattern? If so how would you approach it.

Thanks in advance

Offline

#2 2010-11-02 21:55:02

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,000
Website GitHub

Re: Can Textpattern do this?

You can create as many categories as you like and organize sub-categories as children of parent categories but you can only assign each item (article) two categories. So, for example, you could use one of the categories for the manufacturer and the other for the product type. The product type could be a sub-category. An example: You might say category1:manufacturer = “IKEA” and category2:product-type = “roller blind” which is a sub-category of the parent-category “blinds”. You can also organize by section or use additional custom fields if you need further divisions, e.g for “colour” to continue the example.

Where it gets complex is if you need to display the data according to very-fine search criteria. Again, an example. You could look at all blinds (= by parent-category) or by all roller blinds (= by sub-category) or all products by IKEA (= by category). If you need to narrow your search down to “all blinds by IKEA” then it gets harder. You can get part way there by providing sort functionality. The pay-plugin glz_custom_fields also provides related functionality.


TXP Builders – finely-crafted code, design and txp

Offline

#3 2010-11-03 00:39:08

oyster
New Member
Registered: 2010-11-01
Posts: 5

Re: Can Textpattern do this?

Jabob,

thanks for your tip. I will try it as you suggested.

Do you know how the clean urls work in this CMS? From the documentation and the admin panel setting in preferences are few like:

section/title
id/title
and so on

I would like to keep the url and breadcrumb mapped out corresponding with the categories of where the user is on the site. Am guessing I will need to use some plugin as CMS might not offer this as out of the box solution!

Thanks in advance
!

Offline

#4 2010-11-03 02:42:58

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Can Textpattern do this?

oyster wrote:

I would like to keep the url and breadcrumb mapped out corresponding with the categories of where the user is on the site. Am guessing I will need to use some plugin as CMS might not offer this as out of the box solution!

By default TXP won’t show the category in article permlinks. That’s due to the fact that the articles are posted to sections, and categories can used as additional organizers/filters in listings.

If you need more customized URL rules, gbp_permanent_links can offer that. It, for example, allows you to do links like /section/category/title.

Offline

#5 2010-11-03 13:00:14

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: Can Textpattern do this?

For more detailed abstracts & tagging I recommend to use the keyword field. To output keyword search result pages I recommend the plug-in tru_tags – usage instructions. Tags and categories are section independent!

Re. breadcrumbs: Check <txp:breadcrumb />. The tag will show & link categories and sub-categories.


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#6 2010-11-03 15:57:38

oyster
New Member
Registered: 2010-11-01
Posts: 5

Re: Can Textpattern do this?

Great,

thank you guys for your time and responses. I might have enough to get started with Textpattern. I will give it a go and report the progress.

Thanks again.

Offline

Board footer

Powered by FluxBB