Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2007-05-04 16:22:06

WebKat
Member
Registered: 2007-01-16
Posts: 301

Re: if_category hates me

(and I threw the listform on there when it didn’t work the other way, as a measure of desperation and “try anything that might work”)



WebKat

Offline

#14 2007-05-04 17:16:22

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: if_category hates me

Hmm… I don’t see anything wrong with the code. And you have exactly the same tags for your category Web and it’s child category, and those articles display all right. Can you post a tag trace?

Offline

#15 2007-05-04 17:29:50

WebKat
Member
Registered: 2007-01-16
Posts: 301

Re: if_category hates me

No the Web one isn’t working either. It just shows the “Web” content (which it always did) but it does not also show the “Geeky” content. It’s exactly the same as it was before I changed the code.



WebKat

Offline

#16 2007-05-04 17:35:02

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: if_category hates me

I recommend a tag trace.

Offline

#17 2007-05-04 17:46:47

WebKat
Member
Registered: 2007-01-16
Posts: 301

Re: if_category hates me

Ok I got it working, but I’m still unsure as to what is going on. I have a page “main” that is for everything except the front page, which is “default”. All of the sections are set to use “main” as the page. But for some reason the top level category pages use “default”—which I’m sure is how it’s designed to work but is not the flow of logic that my brain follows. Why is it always stupid mistakes that could have been solved in three seconds that take me all day to figure out??



WebKat

Offline

#18 2007-05-04 18:02:38

WebKat
Member
Registered: 2007-01-16
Posts: 301

Re: if_category hates me

(Thanks, the “tag trace” thing was what showed me that, “uh…hello? Where are the tags? They’re MISSING! This is the wrong page template! ARRRRG!”)



WebKat

Offline

#19 2007-05-04 18:13:22

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: if_category hates me

Glad you found it. Category pages indeed use the default page, if you don’t know that it can take some time to figure out what is wrong… ;) (Teaches me something as well, I shouldn’t take for granted that everyone just knows these things.)

Offline

Board footer

Powered by FluxBB