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

Button on news detail page #138

Closed
maximaexchen opened this issue Dec 13, 2024 · 2 comments
Closed

Button on news detail page #138

maximaexchen opened this issue Dec 13, 2024 · 2 comments

Comments

@maximaexchen
Copy link

Hi

TYPO3 v12 (composer)

Emebeded this in the News-Detail-Template like so:
<f:cObject typoscriptObjectPath="lib.web2pdf ">Drucken</f:cObject>

If I click the Button I get this:

details?tx_web2pdf_pi1%5Baction%5D=generatePdfLink&tx_web2pdf_pi1%5Bargument%5D=printPage&tx_web2pdf_pi1%5Bcontroller%5D=Pdf&cHash=efc3101fccd46508f5491250531cba32

ERR_INVALID_RESPONSE

How do I get the queryParams in the link?

Thanks in advance!

@ayacoo
Copy link

ayacoo commented Dec 23, 2024

@maximaexchen You will probably run into this change like I did here:

https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.0/Breaking-98488-TypolinkOptionAddQueryStringOnlyIncludesResolvedQueryArguments.html

Variant A: Configure news route
Variant B: Viewhelper logic / Fluid logic to take the news parameters from the URL

@maximaexchen
Copy link
Author

@ayacoo Thank you very much!
I added a news route that solved the problem.

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

2 participants