Use of protected media properties in page ressources (TYPO3 8.7.4) -


i have image file in page properties , can't find way use properties of file reference because protected.

<f:debug>{data.media}</f:debug>

not every attribute must in debug. if filereference class can see there several getters different fields.

in php do:

$title = $myfilereference->gettitle(); $description = $myfilereference->getdescription(); 

in fluid do:

{filereference.title} {filereference.description} 

Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -