koninklijke-collective / my_redirects

TYPO3 Extension: Redirects management

Home Page:https://typo3.org/extensions/repository/view/my_redirects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Record link tabs not available

mbrodala opened this issue · comments

The link dialog of the destination field of redirects does not show custom record link tabs thus there is GUI way to use record links.

It seems like this only happens because the Page TSconfig defining these custom linkhandlers is not loaded on the root page (pid=0), it works fine when selecting an arbitrary regular page. (Doing this will automatically apply the default page filter however, see #55).

tl;dr: Adding the Page TSconfig via ExtensionManagementUtility::addPageTSConfig() in ext_tables.php makes it available globally, custom record link tabs are working this way.

Hi @mbrodala,

I currently have a branch open for my refactoring to rootline(domain) pages, for a different approach. (to have an option for restricting redirects per domain/rootline).

If you're curious about the refactoring; see https://github.com/koninklijke-collective/my_redirects/tree/feature/refactor-domain-tree

I'm hoping to fully test this is the coming weeks (will finally have some free time next week).

Thanks for your input though!

commented

Has this issue really been fixed? I don't see any custom record link tabs when opening the link_wizard popup from my_redirects target field although in the RTE the tabs are displayed without any problems...

My current setup:
Typo3 8.7.19
my_redirects: 3.4.1

commented

tl;dr: Adding the Page TSconfig via ExtensionManagementUtility::addPageTSConfig() in ext_tables.php makes it available globally, custom record link tabs are working this way.

true the tabs are working then, but the link rendering doesnt work in my case since I defined them in config.recordLinks like this:

`
tx_news {

    forceLink = 1  
    typolink {  
        parameter = 53  
        additionalParams.data = field:uid  
        additionalParams.wrap = &tx_news_pi1[controller]=News&tx_news_pi1[action]=detail&tx_news_pi1[news]=|  
        useCacheHash = 1  
        ATagParams.data = parameters:allParams  
        target.data = parameters:target  
        title.data = parameters:title  
    }  
}

`

Any hint? :-)