[TYPO3-ttnews] HTML import in tt_news db

Martin Ficzel martin.ficzel at gmx.de
Mon Jan 29 17:06:42 CET 2007


David Zschille schrieb:
> Hi Martin,
> 
> thanks for your answer. I think your explaination is not correct.
> Yes, the uploaded files are stored in tt_news with out the path. But i
> don´t have to upload them to the folder "uploads/tx_ttnews". I can choose
> the upload folder in the Typo3 upload manager, like in every content
> element where the manager is available.
> 
> I think in which folder the uploaded file is stored, is written in the
> table "sys_refindex" in the field "ref_string".
> 
> I have two Typo3 installations and the folders "uploads/tx_ttnews" are
> empty. I had made the news "manual", not with a script.
> 
> So i think i have made an error somewhere else.

you are right "uploads/tx_ttnews" is not used for the images.

if you look into tools->configuration->tt_news->colomns->image
you will see that the folder "uploads/pics" is used. so the image field
is pointing to filenames in "uploads/pics". sorry i did'nt check the tca
configuration just looked into the filesystem. the folder
uploads/tx_ttnews is used for templates wich are uploaded to a cObj
(defined in tt_news flexform).

the rest of my information is still correct.

if you upload a and select a file with the uplaod manager the file will
be created twice. one at the place you selected and once in
"uploads/pics" with an unique filename. only the file in "uploads/pics"
will be referenced and used by the system.

i have no clue what the use of sys_refindex is but if you look into the
source of tt_news you will find a lot of hardcoded "uploads/pics" and no
"sys_refindex in there.

if you want to you can update the refindex with tools->db-check->manage
reference index

regards Martin




More information about the TYPO3-project-tt-news mailing list