Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

definitive

macrumors 68020
Original poster
Aug 4, 2008
2,089
1,021
Here's the current layout:

1KLNXaa.jpg


I have two pages on one website. Both have the layout as the one in the image above.

Category 1-3 are sub categories (children?). One main category is listed as id 1, while the other as id 2.

When a person visits one of these two pages, they see all the posts from Categories 1-3, with pagination at the bottom, so that it won't end up being one long page. When a person clicks on the post on the left, it loads just that post.

The issue I'm having: When a person clicks on Category 1, 2 or 3, it displays the posts belonging only to that category (which is correct), but not the table of contents on the left. I can't figure out which file I have to edit (or add) in order to get the table of contents to display once that category's posts load up. Problem is that on one page style I have cat id 1, while on the other I have cat id 2, so I don't think I can cover both pages (which contain these layouts) with just one file.

Can anyone suggest some kind of a solution for this?
 
Change your template file (from the Edit Page screen) from default to sidebar? I don't see a picture above and can only guess at what is happening.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.