[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nachricht als Spam/Junk markiert] Re: [TYPO3-english] Extending tt_news



But wouldn't the best solution not be to have the extending part in my own 
extension?
What if I need to update News at some point? Then I need to start over again if 
I extend News in the News code.


Jeppe

-----Oprindelig meddelelse-----
Fra: [email protected] 
<t[email protected]> På vegne af Christian Platt
Sendt: 1. september 2018 06:27
Til: TYPO3 English <[email protected]>
Emne: Re: [TYPO3-english] Extending tt_news

Ok,i guess, you will not find the new fields in the backend, when looking at an 
entry for for news.

But anyway, if you entend en extension with new fields, you also have to extend 
the model with setter and getter of your fields.

But you also have to extend the TCA of the model to have that data  stored.

https://docs.typo3.org/typo3cms/extensions/news/DeveloperManual/ExtendNews/AddCustomType/Index.html

Christian



> Am 31.08.2018 um 19:38 schrieb <[email protected]> <[email protected]>:
> 
> The tutorial doesn't say anything about extending the TCA, but maybe that 
> part is missing.
> But no, I have not done anything with the TCA.
> 
> 
> Jeppe
> 
> -----Oprindelig meddelelse-----
> Fra: [email protected] 
> <[email protected]> På vegne af Christian Platt
> Sendt: 31. august 2018 19:11
> Til: TYPO3 English <[email protected]>
> Emne: Re: [TYPO3-english] Extending tt_news
> 
> But the question for extending TCA remains….
> 
> Christian
> 
>> Am 31.08.2018 um 18:53 schrieb jeppe <[email protected]>:
>> 
>> It was a miswriting. I meant news, not tt_news Jeppe
>> 
>> 
>> Sendt fra min Samsung Galaxy-smartphone.
>> -------- Oprindelig besked --------Fra: Jan Bartels 
>> <[email protected]> Dato: 31/08/2018  18.32  (GMT+01:00) Til: 
>> [email protected] Emne: Re: [TYPO3-english] Extending tt_news Am 
>> 30.08.2018 um 20:10 schrieb [email protected]:
>>> I have tried to extend tt_news with this tutorial 
>>> docs.typo3.org/typo3cms/extensions/news/2.2.1/Main/Tutorial/Extendin
>>> g News/In dex.html. But the fields doen't show up in backend.
>> tt_news != news
>> 
>> Jan
>> 
>> _______________________________________________
>> TYPO3-english mailing list
>> [email protected]
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>> _______________________________________________
>> TYPO3-english mailing list
>> [email protected]
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
> 
> 
> _______________________________________________
> TYPO3-english mailing list
> [email protected]
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english