haassie / rh_recaptcha

TYPO3 extension implementing Google reCAPTCHA
1 stars 9 forks source link

Fix for including template #16 #17

Closed Scunkaneli closed 7 years ago

Scunkaneli commented 7 years ago

This fixed #16. It ports the new code from ext_localconf.php to a newly created TCA/sys_template.php and adds the EXTname. Tested and working on CMS 8.7.1

rschaufler commented 7 years ago

@Scunkaneli just one thing: it's normally best practice to insert a die statement at the beginning of the file, like here https://github.com/TYPO3/TYPO3.CMS/blob/7254650107f48732b963d5ef8c6838bdd02ff1bd/typo3/sysext/t3editor/Configuration/TCA/Overrides/sys_template.php#L2

Scunkaneli commented 7 years ago

Thanks, I included your edit. :)

rschaufler commented 7 years ago

@Scunkaneli cool stuff 👍 let's hope @haassie wakes up ;)