[TYPO3-dev] read elements from sysFolder

typo3dev typo3 at mielec.info
Sat Nov 28 18:05:18 CET 2015


On 2015-11-26 22:31, Jigal van Hemert wrote:
> Hi,
>
>
> $contentElements =
>    \TYPO3\CMS\Backend\Utility\BackendUtility::getRecordsByField(
>      'tt_content',
>      'pid',
>      $pid,
>      '1=1' . \TYPO3\CMS\Backend\Utility\BackendUtility::BEenableFields(
>          'tt_content'
>        )
>    );

after quick check at last it works :-) thx again
strange fourth params is whereClause and without "AND" on the begining 
returns query error?


> Now you have the records of the content elements in the page/folder with
> id $pid. For each element you have to get the linked files.
>
> 2. Get the linked files
> For this the wiki you visited earlier has an example:
>
> https://wiki.typo3.org/File_Abstraction_Layer#Get_linked_images_from_a_content_element
>

yep and now i have to figureout it :-)

thx again
ill post result if ill get it :-D


--
Andy



More information about the TYPO3-dev mailing list