Bug #66112
closedLinks on Mount Pages target to wrong page
0%
Description
Hi all,
I am not sure if this is really a bug or maybe a missunderstanding of mine.
I am currently developing a website with multiple trees (one per country) whereas some countries share a tree via Mount Pages - see tree below.
root |-- [1] master (regular page) | |-- [2] sub 1 | |-- [3] sub 2 | `-- [4] sub 3 `-- [5] virtual country (mount page)
Now I create a content element type "Text" with an link in RTE to page with pid 4 and place the element on pages 1 and 2.
When I browse to master the link is correct, when i browse to page 2 in master tree the link is also correct.
When I switch to page 5 the link targets to page 4 within master tree (which is the bug I think).
When I browse to page 2 in tree 5 the link targets to page 2 within tree 5 which is correct.
In short words - it seems to me that links on mounted page lose the MP-Param.
Could you please give me a hint or solution or bugfix to make links on mounted pages target to pages within mounted tree.
Thank you in advance
BR Boris
Updated by Boris Günther over 9 years ago
Found my mistake.
I forgott to set:
config.MP_mapRootPoints = #pid_of_mount_page#
Now it works as expected.
Please close the ticket.
thx Boris
Updated by Riccardo De Contardi over 9 years ago
- Status changed from New to Closed
closed upon request of the reporter