[Typo3] how can the backend user clear cache?????
typo3 at fm-world.ru
Wed Dec 14 14:18:01 CET 2005
zsl vincent wrote:
> i have found that the function "Clear Cache in typo3conf"and"Clear
> FE cache" is in the Admin Functions Module.but this is not good,for
> example,i have created a backend user who specially in charge of the
> news system,so he can create news by use of the Mininews, when he finish
> creating the news,the funny thing is because he is not the admin,so he
> can not clear the cache so that the other people can not see the latest
> news in the frontsite.
> so is there anyone who knows how to let a backend user can do the
> clear cache operation,or is there another method to solve my problem?
> thank you
He need not to clear cache in the described case. All you need to do is
to add to the TSConfig of the page with news items:
TCEMAIN.clearCacheCmd = xxx
where xxx is a comma-separated list of page UIDs that you want to clean.
When user saves news items, cache for those (and only those!) pages will
If you still want him to clear cache, he can do it from "Edit page
header" if you add the following to his user TSConfig:
options.clearCache.all = 1
options.clearCache.pages = 1
There is no need to install any extension if you simply read Typo3
"TSConfig doc is your friend" (c)
More information about the TYPO3-english