Zum Inhalt springen

tt_products 2.3.1 und das array problem in der list ansicht

Erstellt am 12. Oktober 2005 · 1 Antwort · letzte Antwort am 12. Oktober 2005

Tags: Frage

RChristian ·

hallo leute,

in meinem shop template hab ich folgende einstellung:

<!-- ###ITEM_LIST_TEMPLATE### begin
	This subpart is used to display the regular list of products. It's also used by search-results.
-->
<table border="0" cellspacing="0" cellpadding="1" width="100%">
  <tr>
    <td colspan="2" align="right"><!--###LINK_PREV###-->
<< vorherige Seite
<!--###LINK_PREV###-->
<!-- ###LINK_BROWSE### begin -->
[ ###BROWSE_LINKS### ]
<!-- ###LINK_BROWSE### end-->
<!--###LINK_NEXT###-->
nächste Seite >>
<!--###LINK_NEXT###--></td>
  </tr>
...

und beim ###BROWSE_LINKS### marker wird folgendes dargestellt:

[ 1 ArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArray]

anstatt:

  [ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ]

woran liegt dass und wie kann man das beheben?

mfg,
RChristian

Flink ·
RChristian schrieb

woran liegt dass und wie kann man das beheben?

Die Zeile

$tempUrl = $this->pi_linkToPage((string)($i+1),$TSFE->id,'',$this->getLinkParams('', array('begin_at' => (string)($i * $this->config['limit']))));
$markerArray['###BROWSE_LINKS###'].= explode ($splitMark, $tempUrl);

in class.tx_ttproducts.php ändern auf

$tempUrl = $this->pi_linkToPage((string)($i+1),$TSFE->id,'',$this->getLinkParams('', array('begin_at' => (string)($i * $this->config['limit']))));
$markerArray['###BROWSE_LINKS###'].= $tempUrl;