0

I'm new to Typo3.

Inside the Configuration section of my own Content element I need the ID or name of the Content element's page. How would you implement that?

I already tried to use flux:field.input but I dont know what to do with typoscript.

shm_sl
  • 1
  • 1
  • Hey, can you post a screenshot in which view you try to get the information? And for what you need this information? – Thomas Löffler Mar 16 '20 at 15:50
  • In each content element you have the field `pid` (parent Id) which normaly identifies the page the record belongs to. – Bernd Wilke πφ Mar 17 '20 at 07:19
  • @ThomasLöffler A customer wanted a label to have a different name if the item was in a specific folder. I ended up using `{f:if(condition: '{record.pid} == 204', then: ...` – shm_sl Mar 17 '20 at 13:50

1 Answers1

0

record.pid was the thing I was looking for!

<f:debug>{record}</f:debug>
shm_sl
  • 1
  • 1