[TYPO3] Basic SEO Features and CoolURI sitemap not working - other options?

Jan Bednarik info at bednarik.org
Fri Aug 8 22:14:10 CEST 2008


Hi,

I've finaly found some time to dig into it.

> Shortcut type pages are included in the sitemap rather than the page 
> they are pointing to.

the problem is that seo_basics uses t3lib_pagetree to fetch tree and 
this class doesn't fetch all columns from the "pages" table. Especially, 
it doesn't fetch "shortcut" value.

Since CoolUri has this condition:

if (!empty($params['args']['page']['shortcut']) && 
$params['args']['page']['doktype']==4) {

and "shortcut" is not fetched, this condition is "false" and shortcut is 
not retrieved.

CoolUri could fetch the shortcut if empty, but maybe t3lib_pagetree 
should do so.

-- 
Jan Bednarik
www.bednarik.org - web about Typo3 in czech


More information about the TYPO3-english mailing list