Closed rei-we closed 7 years ago
I used DL as vendorname to get rid of some issues. But the problem with missing arguments in Tx_Yag_ViewHelpers_Link_GalleryViewHelper remains the same.
Declaring the render-function with the same arguments as in Tx_PtExtlist_ViewHelpers_Link_ActionViewHelper
public function render($action = null, array $arguments = array(), $controller = null, $extensionName = null, $pluginName = null, $pageUid = null, $pageType = 0, $noCache = false, $noCacheHash = false, $section = '', $format = '', $linkAccessRestrictedPages = false, array $additionalParams = array(), $absolute = false, $addQueryString = false, array $argumentsToBeExcludedFromQueryString = array(), $addQueryStringMethod = NULL)
and init the additional arguments like
public function initializeArguments() { $this->registerArgument('galleryUid', 'int', 'UID of album to render link for', false); $this->registerArgument('gallery', 'Tx_Yag_Domain_Model_Gallery', 'Album object to render link for', false); }
solves this issue.
Erfolgreich für das FE. Im BE wird aber weiterhin bei dem YAG-Plugin kein Motiv angezeigt. Fehlermeldung:
Muss auch in der yag_themepack_jquery die GalleriaViewHelper.php angepasst werden?
I had to change a lot to get YAG working in t3 v8. You can see the changes in my pull-request for yag/pt_extlist and pt_extbase or in my forked projects: https://github.com/kiwi2101 It is working in my context but needs some more cleaning up. Hope it leads you to the right direction.
I found my solution under pt_extbase #16. As this issue is from 8. Jan. 2016 I wonder why this still exists.
I am very happy to hear, that you make the extension fit for t3 v8. Thanks
Basis: Typo3 7.6.12, pt_extbase 2.2.0, pt_extlist 2.3.0, yag 4.1.2, yag Themepack mQuery 1.3.2 installed as clone from git (20.11.2016) With php 5.6 it works, but very slow. The website was developed on a VM-Server. Temp-Files were completely deleted befor every test. The System environment check of Installtool however shows:
With php.ini and .htcaccess I couldn't achieve any change.
I want to use php 7 (php 7.0.12), because obviouly quicker and longterm. But:
The Plugin as Contentelement in BE shows Error-Message (before and after Patches):
The dropdownfield 'Motiv' is empty.
The Modul 'Galerie' produces following error:
After using the patch from dmnk (another php 7 interface / yag problem #20) in principal I get the same error, just modified:
In the Typo3 Wiki to Exception/CMS/1289386765 I find many suggestions. I can't really use any of them but newinstall and delete temp-files. My guess is, that 'If you got the error while migrating your extension to use namespaces' is the relevant one. But what should I use as 'myvendorname'?
I can't believe, that such a fantastic extension can't run with php 7.