I'm trying to add a thumbnail field to tx_news file records but when I do try use the new field I get an error.
These are the steps I've taken,
Added the column to sql
Add the new field to the tx_news_domain_model_file tca
I now have the new field in my news file record.
Then I added my thumbnail stuff to Classes/Domain/Model/File.php. Then I use the new variable in my template {relatedFile.thumbnail}
This is the error I now get on the frontend when I view a single news. The news display works when I remove the new field.
I am using Typo3 6.1 with:
- Fluidpages 2.1.0
- Fluidcontent 3.1.0
- Flux 6.0.3
- VHS 1.8.5