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 mysite.com/list/detail/ then you could use {@url.1} to get the “detail” portion of the URL automatically. The numbering works like this, mysite.com/0/1/2/3/4/5/ 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 http://www.mysite.com/albums/title-of-the-album. 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.
Regads,
Denis
In your Pod Page Title, you would put the field you want the title to come from, so that may be: {@name}