[TYPO3-dev] Feature #11797: Enable working with SysFolders in CONTENT
Sebastian Gebhard
sebastian.gebhard at googlemail.com
Thu Aug 27 01:10:22 CEST 2009
Hi,
When i was trying to output Sysfolders with the TypoScript TLO CONTENT,
i found out, that this is not possible. Only pages with doktype<200 are
queried by CONTENT.
I think that it should be possible to treat SysFolders. So i created a
patch. I introduced a the property CONTENT.select.dontCheckDoktype.
I consider my patch rather dirty, but I did not find a cleaner solution.
Maybe you can help me.
$GLOBALS['TSFE']->sys_page->where_hid_del contains a where string that
matches all "visible" pages (considering hidden, deleted, starttime,
endtime etc. AND doktype<200). This where string is applied to the query
in tslib_cObj->getWhere if the table is 'pages'.
My patch just removes ' AND pages.doktype<200' with str_replace. But
that's obviously not very clean.
Do you have any hints for me?
Kind regards,
Sebastian
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dontCheckDoktype.patch
URL: <http://lists.typo3.org/pipermail/typo3-dev/attachments/20090827/105c8f2a/attachment.txt>
More information about the TYPO3-dev
mailing list