Hi!

Stephen Bungert wrote:
> I see in your ratings extension you cleared the cash yourself like this:
> 
>               $GLOBALS['TYPO3_DB']->exec_DELETEquery('cache_pages',
> 'page_id=' . $this->pid);
>               $GLOBALS['TYPO3_DB']->exec_DELETEquery('cache_pagesection',
> 'page_id=' . $this->pid);
> 
> So if I wanted to delete the page where the SINGLE news articles are
> displayed, could I use the above with the correct PID?

No. This is not the best way to clear cache but nothing else can be used in eID 
script at the moment. Normally TCEmain should be called for clearing cache from 
extensions.

You can also delete cache for necessary pages by TSConfig when news item is 
changes. May be you need this?

-- 
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"
_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Reply via email to