Schweriner / tgm_copyright

7 stars 13 forks source link

Different template path not possible #10

Closed klodeckl closed 8 years ago

klodeckl commented 8 years ago

I changed the typoscript constant and also the setup itself but it always uses the default template.

Schweriner commented 8 years ago

Hey and thanks for the feedback. We already fixed this issue here https://github.com/teamgeist/tgm_copyright/commit/2565fba69dfd5ccf73383a9a0dab196bac1807f1 but didn't upload it to TER yet.

The current path is view.view instead of view.

klodeckl commented 8 years ago

Okay, thanks. But it is still not possible, I have set the constant plugin.tx_tgmcopyright_main.view.templateRootPath = assets/templates/Copyright/ but no change. And when I set the following setup plugin.tx_tgmcopyright_main.view.templateRootPaths.10 = assets/templates/Copyright/ I get Sorry, the requested view was not found.

The technical reason is: No template was found. View could not be resolved for action "list" in class "TGM\TgmCopyright\Controller\CopyrightController".

But the path is for sure correct and the file ist List.html. And of course I corrected the typoscript with one .view less.

Schweriner commented 8 years ago

Which TYPO3 version are you using? What is your file structure inside assets/templates/Copyright/ including folders and files.

Inside the folder Copyright the structur should be:

klodeckl commented 8 years ago

OMG, of course, I'm so sorry! I should make a break ;-)

Schweriner commented 8 years ago

No problem it was late monday :-)