Support » Plugin: Pods - Custom Content Types and Fields » Title of the detail page

  • Resolved dionysos73



    i have another problem: the title of my detail pod page is called “Detail album”. However, i want to display the title of the album. It seems we can’t used the magic tag {@title_album} to name the detail page.

    How i can do this?

    Thanks again.

    Best regards,


Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Scott Kingsley Clark


    The magic tag in the Pod Page title will only work if you set $pods up in your Precode.

    Or, in Pods 2.3.x, there’s a new ability to assign a Pod to a Pod Page, and choose a wildcard format for picking up your detail pages.

    If your page was at then you could use {@url.1} to get the “detail” portion of the URL automatically. The numbering works like this, because that’s how array indexes work in code, starting with 0.

    That feature sets up $pods automatically in the code, so you don’t have to do much else there. You can then access $pods in your Pod Page precode / page code to avoid any extra code you may have used before. The variable is made available to you automatically.

    Thank you for your answer, but there’s something i don’t understand.

    The url of the detail page for an album is So, if i follow your instructions i need to use the wildcard {@url.1}, is that correct?
    But it doesn’t work, the title of my page is always “Detail album” and not “Title of the album”

    i turn the ticket to unresolved till your next answer.

    Thank you for your help.



    Plugin Author Scott Kingsley Clark


    In your Pod Page Title, you would put the field you want the title to come from, so that may be: {@name}

    That’s work! 🙂

    Great. Thank you again…


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Title of the detail page’ is closed to new replies.