[TYPO3-dev] FAL- Add an image to a TYPO3 record (tx_news) from 3. party script

Frans Saris franssaris at gmail.com
Sun May 4 11:59:41 CEST 2014


In the tx_news_domain_model_news does the fal_media field value change?

Your import is that done with soms extbase models or soms direct queries?
If you van post soms code maybe I can find the missing parts.

Gr. Frans
Op 4 mei 2014 11:00 schreef "Brian Bendtsen" <bb at bellevuevej.dk>:

> Hi
>
> I create the entire news record and the news does appear on the page with
> news plugin, all except for images.
>
> I just checked the sys_file_reference table and no changes are made to
> this before and after I save the record from BE.
>
> Its propably some other table that needs to be updated. Its just difficult
> to find the right one :)
>
> /Brian
>
> Den 04/05/14 10.21, Frans Saris skrev:
>
>> Could you check the changes in the sys_file_reference records before and
>> after you save the newsitem?
>>
>> Gr Frans
>> Op 4 mei 2014 10:16 schreef "Frans Saris" <franssaris at gmail.com>:
>>
>>  Only the images are new or images and newsitem.
>>>
>>> Else it could be cache?
>>>
>>> Gr Frans
>>> Op 4 mei 2014 08:10 schreef "Brian Bendtsen" <bb at bellevuevej.dk>:
>>>
>>>  Den 03/05/14 22.39, Frans Saris skrev:
>>>>
>>>>  Hi Brian,
>>>>>
>>>>> Try setting config.tx_extbase.persistence.updateReferenceIndex = 1
>>>>>
>>>>> Gr. Frans
>>>>> Op 3 mei 2014 21:30 schreef "Brian Bendtsen" <bb at bellevuevej.dk>:
>>>>>
>>>>>   Hi
>>>>>
>>>>>>
>>>>>> I'm developing a third party php app for adding news records to a
>>>>>> TYPO3
>>>>>> site. The news extension is tx_news.
>>>>>>
>>>>>> I have a problem with the news images. They don't show on the website
>>>>>> unless you edit the news record from the TYPO3 backend. When I edit
>>>>>> the
>>>>>> news record, I see the image relation, so I just edit and save,
>>>>>> without
>>>>>> making any changes.
>>>>>>
>>>>>> I guess its related to FAL and some kind of index problem.
>>>>>>
>>>>>> What I do is upload the images to uploads/tx_news/ and insert a record
>>>>>> into tx_news_domain_model_media but obviously I need something more.
>>>>>>
>>>>>> I have tried to track changes to the database when you edit a news
>>>>>> record,
>>>>>> but without luck.
>>>>>>
>>>>>> Any help is appreciated. Thanks
>>>>>>
>>>>>> Best regards
>>>>>> Brian Bendtsen
>>>>>> _______________________________________________
>>>>>> TYPO3-dev mailing list
>>>>>> TYPO3-dev at lists.typo3.org
>>>>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
>>>>>>
>>>>>>
>>>>>>  Hi
>>>>
>>>> I just tried it but it didn't make any difference
>>>>
>>>> /Brian
>>>> _______________________________________________
>>>> TYPO3-dev mailing list
>>>> TYPO3-dev at lists.typo3.org
>>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
>>>>
>>>>  _______________________________________________
>>> TYPO3-dev mailing list
>>> TYPO3-dev at lists.typo3.org
>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
>>>
>>>  _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
>



More information about the TYPO3-dev mailing list