[TYPO3-shop] Pages as Categories

Franz Holzinger franz at fholzinger.com
Wed Dec 6 15:27:54 CET 2006


Hello Ryan,

> I tried this, but it doesn't change anything.  I'm not sure, but I 
> didn't think this was related to my problem, since I'm not talking about 
> the product or page title, but rather the category title.  I'm trying to 
> include a breadcrumb which displays the category hierarchy and it looks 
> like this:
> 
> Shop > Apparel/
> 
> But that forward slash is not in the category title.  I'm not sure where 
> it's coming from!
> 
> The code I'm using in my template is:
> <!--###ITEM_CATEGORY### begin-->
>   ###CATEGORY_TITLE###
> <!--###ITEM_CATEGORY### end-->
> 
> 
This comes from the single view class. Maybe you can provide a patch for 
that.

// set the title of the single view
switch ($this->conf['substitutePagetitle']) {
	case 1:
		$TSFE->page['title'] = $row['title'];
		break;
	case 2:
		$TSFE->page['title'] = $row['subtitle'] ? $row['subtitle'] : 
$row['title'];
		break;
	case 12:
		$TSFE->page['title'] = $row['title'] . ' / ' . $row['subtitle'];
		break;
	case 21:
		$TSFE->page['title'] = $row['subtitle'] . ' / ' . $row['title'];
		break;
}




- Franz



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