Bug #24432
closed
IMAGE-Element with Image-Link + Link-Parameter
Added by Gabriel Kaufmann almost 14 years ago.
Updated over 13 years ago.
Description
I am using an IMAGE-Container in BE with an Image-Link. The link works fine in FE since I am trying to append some url-parameter to the ID-Syntax.
Works:
?59 -> Result: Linked with Page ID 59
?59&test=1 -> NO LINK not even without additional params.
I think the issue is, that the component rendering this doesn't recognice the possibility to use this "mixed" syntax. But for a Link it should work to use additional params. So the code there should be modified with a split or explode for the first ampersand starting the query-params string.
Sadly I wasn't able to find the right place for this yet in TYPO3-Core PHP.
(issue imported from #M16863)
Just in addition:
If I prepend the TYPO3-URL of the Website, the links works with the correct URL (including the URL-Params). It would be just more handy to allow this feature without the prepended URL - this way the Link will be correctly shown as internal-link and changing the Domain (f.e. dev-system / production-system) is much more handy.
I'm not sure if I understood correctly, but could you try setting
59 - - &test=1
in your link field (or use the link wizard and add the additional params there). Depending on your TYPO3 version this should work.
Hello,
I tried the Syntax using "59 - - &test=1". It was a nice hint - but I am still only able to target the "Title" and "Target" Attributes (same fields as given using the wizard below page-tree).
There's still the problem attaching Query-Params for the Image-Link. Well I could make an Extension adding an additional field there attaching these params to the typolink. But I think this feature should go out of the box in TYPO3?
Ah, I missed a dash. What works for me (TYPO3 4.5) is for example:
39 _blank css title &type=213&test=123
or
39 - - - &type=213&test=123
I tried that - but didn't work for me.
"39 - - - &type=213&test=123"
Just replaced the ID with a page-id in my TYPO3. I don't think I have anything unusual in my TYPO3 (like modified IMAGE-Element...). Does anyone else have the problem that this doesn't work?!
- Category deleted (
Communication)
- Status changed from Needs Feedback to Closed
- Target version deleted (
0)
I'm still unable to reproduce the problem so I'm closing the report for now. Please feel free to reopen it if the problems persist.
Also available in: Atom
PDF