Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record link tabs not available #52

Closed
mbrodala opened this issue Dec 13, 2017 · 4 comments
Closed

Record link tabs not available #52

mbrodala opened this issue Dec 13, 2017 · 4 comments

Comments

@mbrodala
Copy link
Contributor

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.

@mbrodala
Copy link
Contributor Author

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.

@bmoex
Copy link
Member

bmoex commented Dec 22, 2017

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!

@djangones
Copy link

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

@Geddo
Copy link

Geddo commented Nov 12, 2018

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? :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants