Jump to content

UiKit v3 Category Listing


Roadwolf
 Share

Recommended Posts

Greetings,

I am attempting to make a category listing in UiKit for 'Family' related posts.  I want the titles of all pages created under the family category to be visible in the category overview page, just as if it was a blog category.   But the content to not be visible.

The posts themselves are all set up under the 'family' template I created which allows only logged in users with roles 'family' to view the posts.  

Kind of like a personal 'facebook' for posting personal pictures and such of the kids for grandparents to view, since I don't use facebook.

I have the posts working fine, but the category listing isn't working.  I attempted to add an if statement to categories.php to check to see if the current category was 'family' and if so to list the titles of the associated posts, but that didn't work.   No matter what I see to try, the category 'family' page seems always be blank, even if in the admin pages it shows the 'family' posts as it's children (but with a lock beside them as they are locked posts).

Is this because the posts are private, and thus it won't show even the titles?

Link to comment
Share on other sites

Are you able to see the categories from the public side of the interface when you're logged in as admin? If so, it might just be a permissions issue. If not, there's unfortunately too little information to go by in your description to really identify what's going wrong. Can you elaborate a bit more? Is the visibility just a UiKit thing, or is it a PW page attribute? How are your associations (parent/children) configured? What does your categories.php content that (1)queries for the categories and then loops through to display them look like?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...