• Resolved cycas

    (@cycas)


    I’m trying to use Pods to create a multi-chaptered Story content type -ie, one title, one summary, and then a series of ordered chapters.

    I thought I could do this very simply, using a Paragraph repeating field, where each field is a chapter.

    But I would like to have each chapter have its own URL and number, and although I have successfully listed out my chapters using an each block, I can’t work out how to move them into separate locations.

    Can this be done with auto templating, or is this a php template thing?

    I was hoping to do it with auto templating so I could create a reasonably accessible tutorial for it, since I know this is something that a number of other people would also like to be able to do and I feel that a php template might be asking a bit much in terms of skillset.

    • This topic was modified 1 year, 5 months ago by cycas.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Paul Clark

    (@pdclark)

    To get paginated paragraphs, you’ll either need to query the paragraph number with a URL parameter and {@get.chapter} magic tag, or query with PHP, or assign each chapter to a relationship field with ordered list selector with a new custom post type. Auto templating / auto pagination only works for the last option.

    Thread Starter cycas

    (@cycas)

    I’ll create a Chapters custom post type and use that in a Relationship field instead of repeating fields for this – thanks!

    • This reply was modified 1 year, 4 months ago by cycas.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pods Repeating Fields – pagination?’ is closed to new replies.