0
<f:link.action action="show" arguments="{employee : name}"> {employeeInfo.name}</f:link.action>

I want to get details of an employee when clicked on the employee name.

This has been working perfectly in the typo3 v7, But when upgraded to typo3 v8 this is not rendering as link, it is showing as text.

Geee
  • 2,217
  • 15
  • 30
Karthik
  • 103
  • 1
  • 17

1 Answers1

0

The problem is somewhere else - I guess how you integrate your code into the templates. I guess you are using something like page.10.variables.content < styles.content.get. Better use

lib.content < styles.content.get

and in the template

<div class="main-menu">
  <f:cObject typoscriptObjectPath="lib.mainMenu />
</div>

See also what is the best usage of typoscript in fluid templates?

Georg Ringer
  • 7,779
  • 1
  • 16
  • 34
  • Sorry, this is not possible it was a big extension with so many links like this, i need to change it entirely. is there any other option? – Karthik Apr 19 '18 at 06:42
  • without knowing anything how you do it currently it is kind of impossible to give correct answers – Georg Ringer Apr 19 '18 at 11:09
  • Sorry, I'm new to typo3. I have done this in typo3 v7 by referencing the typo3 guide, I thought it will work in typo3 v8 also. – Karthik Apr 19 '18 at 12:12