-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* bugfix: List view failed to show up because of uninitialized parser…
… object.
- Loading branch information
Showing
3 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
|
||
2020-02-14 Franz Holzinger <[email protected]> | ||
* bugfix: List view failed to show up because of uninitialized parser object. | ||
|
||
2020-02-13 Franz Holzinger <[email protected]> | ||
* bugfix for TYPO3 9.5: Do not use cObj->substituteMarkerArrayCached. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
/*************************************************************** | ||
* Copyright notice | ||
* | ||
* (c) 2019 Franz Holzinger ([email protected]) | ||
* (c) 2020 Franz Holzinger ([email protected]) | ||
* All rights reserved | ||
* | ||
* This script is part of the TYPO3 project. The TYPO3 project is | ||
|
@@ -144,7 +144,7 @@ public function &advanceCategory ( | |
} | ||
|
||
|
||
public function &advanceProduct ( | ||
public function advanceProduct ( | ||
&$productAndItemsFrameWork, | ||
&$productFrameWork, | ||
&$itemListOut, | ||
|
@@ -448,6 +448,14 @@ public function printView ( | |
$globalMarkerArray = $markerObj->getGlobalMarkerArray(); | ||
$whereCat = ''; | ||
|
||
$parser = $this->cObj; | ||
if ( | ||
defined('TYPO3_version') && | ||
version_compare(TYPO3_version, '7.0.0', '>=') | ||
) { | ||
$parser = tx_div2007_core::newHtmlParser(false); | ||
} | ||
|
||
$relatedListView = GeneralUtility::makeInstance('tx_ttproducts_relatedlist_view'); | ||
$relatedListView->init($this->cObj, $this->pidListObj->getPidlist(), $this->pidListObj->getRecursive()); | ||
|
||
|