[Typo3-dev] rendering content by id
Robert Fink
robert.fink at gmx.net
Fri Jun 17 09:20:21 CEST 2005
Hi!
>
> If we ignore FE and BE sessions I have this code.
>
> $TSFE->TCAloaded; // TCA has already been loaded by the "real" TSFE
> $TSFE->clear_preview();
> $TSFE->getFromCache(); // can perhaps be omitted if you want no_cache=1
> anyway
> $TSFE->getConfigArray();
> $TSFE->settingLanguage();
> $TSFE->settingLocale(); // can be replaced by $TSFE->localeCharset =
> $temp_TSFE->localeCharse if locale is the same as the current page
> $TSFE->setUrlIdToken();
And this is already a huge part pf what index_ts.php does.
And you (at least I) definitely need FE-User handling, because I need to
generate only the content of pages that the current user has access to.
Ok, I will go through index_ts.php, look what it does and try to initialize
my own $TSFE2-object with a new ID-parameter. Let's see how far i can get...
robert
More information about the TYPO3-dev
mailing list