[TYPO3-ttnews] Changing behaviour of EXT:news category restriction

Georg Ringer typo3 at ringerge.org
Tue Nov 20 17:03:47 CET 2012


Hi,

Am 20.11.2012 11:35, schrieb Philipp Schiffmann:
> Sorry, totally forgot to write a reply here...
> Here is a link to my patch: https://review.typo3.org/#/c/16459/

2 things:

1) I get the error
------
PHP Warning: Invalid argument supplied for foreach() in 
C:\xampp\htdocs\master\typo3temp\Cache\Code\cache_core\ClassLoader_DatabaseTreeDataProvider_c77eb62d936b39c6d3a5.php 
line 71
-------

so this is the line
------
foreach ($basicNode->getChildNodes() as $child) {
------

2) it would be cool to have this feature kind of configurable because on 
the other hand I like to just don't show the other categories. Imagine 
sometimes an editor should even not see the other categories...

does that make sense and could you do that?

thx
georg



More information about the TYPO3-project-tt-news mailing list