Bug #88383
closed
Added by Rainer Roskothen over 5 years ago.
Updated over 4 years ago.
Description
Hello,
I don't know if this is a bug or a missing feature or something else.
Why is the field "content_from_pid" not handled in the function "build" of the class PageLinkBuilder?
- Subject changed from Localization and PageLinkBuilder to PageLinkBuilder
- Category deleted (
Localization)
- Status changed from New to Needs Feedback
Hi Rainer,
the content_from_pid functionality is related to what should be displayed, and not where a page link should be generated. So I don't know exactly what you need or trying to achieve, but linking to the page where content_from_pid is set, is only relevant for rendering the actual page, not linking to it or resolving a URL.
Hi Benni,
probably this bug has been fixed in an other class in Version 9.5.11 or prior. I've generated internal links on a page (for example with uid 96) to other content elements on the same page, in my example t3://page?uid=96#221 or t3://page?uid=96#223. On the second page with content_from_pid set to 96 all links were not rendered resp. totally missing.
I've established a workaround, but cannot reproduce this behaviour with TYPO3 9.5.11 anymore. I'm very interested where this issue has been fixed (class or issue number) because I've got a second problem related to this issue which is definitly not a bug but essential for my website.
Thanks for your interest and help.
The reason is that the link is stored in the record with the actual page (<a href="t3://page?uid=96#223"> - if you change it to "t3://page?uid=current#223" this work with content_from_pid.
However, I don't know when this was fixed, but it works for me.
- Status changed from Needs Feedback to Closed
Closing the issue as this is working in both 9 and 10. If you think this is an error, please comment.
Also available in: Atom
PDF