How to get the [[*pagetitle]] of any resource (as Template Tag)?

I want to display the [[*pagetitle]] of resource A in a template for resource B. I was hoping there is an easy way to do this, like some form of Template Tag, but I couldn’t find anything, really.

What would be the easiest way to accomplish this? So far I only found this old thread but I was hoping for a solution without the need of a custom snippet?

Running Revo 2.7.2-pl

install pdoTools then [[#15.pagetitle]] where 15 is id of resource A

3 Likes

Works exactly like I wanted, thanks! Which part of pdoTools is doing this, though?

1 Like

I think, for fast fields, it’s their own parser class
https://docs.modx.pro/en/components/pdotools/parser

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.