Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-04-17 23:04:15

TheWorkingchair.com
Member
Registered: 2006-04-10
Posts: 12

Category sections do not work.

This is in reference to this topic I posted earlier, but has since been moved.

I still do not understand how to fix this.

Els, I see you said that <em>“By default the search results use section ‘default’, i.e. your home page, and the search_results form.”</em>

I do not have a section named “default”. The only sections I have are “article”, “archive”, and “contact” for now. Might this have something to do with why the category sections will not work? I am actually getting pretty frustrated with how the functions and things in textpattern work. I would much rather just be able to look at hardcoded material. It’s a little less confusing if you ask me.

Where is the best tutorial about how to set a website up using textpattern? I still don’t understand how these sections, categories, and forms all work together. I need to get this website up and running as fast as possible.

Offline

#2 2006-04-17 23:13:06

TheWorkingchair.com
Member
Registered: 2006-04-10
Posts: 12

Re: Category sections do not work.

I think I might be getting what a section and what a category does backwards.

Say I wanted to write a few articles on a video game, and another couple on a movie. Under my current setup I have a <b>section</b> called “articles” in which I will put two <b>categories</b>: One called “Games” and the other called “Movies”.

If I assign my video game articles to go under the category “Games” and the movie articles to go under the category “Movies”, I would like to be able to access a list of those articles when I click on their respective category. This is how I have come to understand textpattern to work.

I could be wrong… but do I need to assign two <b>sections</b> called “Games” and “Movies” and put them under the <b>category</b> “articles”?

Offline

#3 2006-04-18 00:46:26

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Category sections do not work.

I do not have a section named “default”. The only sections I have are “article”, “archive”, and “contact” for now.

Go to txp > presentations > sections. The top item in the list, just below “Create”, should be “Default”. It’s a special section that represents the home page. There’s no way to delete it.

This FAQ gives an overview of how sections, pages, categories and so on fit together.

do I need to assign two sections called “Games” and “Movies” and put them under the category “articles”?

Sections don’t belong to categories. Sections and categories are independent.


Alex

Offline

#4 2006-04-18 05:36:42

TheWorkingchair.com
Member
Registered: 2006-04-10
Posts: 12

Re: Category sections do not work.

Well slap me sideways! I should have realized that… Oh well.

I also realized that I had <code><txp:article_custom /></code> instead of <code><txp:article /></code> on my default page. That was messing me up in some places as well.

Thanks!

Offline

Board footer

Powered by FluxBB