Bug #21244
closed
Sitemap does not show shortcuts with shortcut_mode != 0
Added by Klaus Netcreators) about 15 years ago.
Updated almost 10 years ago.
Priority:
Won't have this time
Description
T3 Sitemap will not show Shortcuts with shortcut_mode != 0 (or Shortcut Mode in Flexform not "", but either "First subpage" or "Random subpage".)
To reproduce:
- create a page (shortcut)
- create some subpages
- make the shortcut link to one of the subpages
- create a sitemap on some other page
-> the shortcut will show up in the sitemap.
- now set the shortcut mode in the shortcut page to "first subpage".
-> the whole newly created subtree will be missing in the sitemap.
This was observed in T3 4.2.6
(issue imported from #M12197)
- Assignee deleted (
Steffen Kamper)
- Target version deleted (
0)
- TYPO3 Version set to 4.3
In TYPO3 4.5 the value "empty" for shortcut mode is no more (it is called "Selected page").
Said that, I found that the problem is present in 4.5.20 and 6.1.0 under these condition:
1. Shortcut mode selected: "First subpage of current page"
AND
2. Shortcut target: not null: if the field is empty, everything works
Not tested with the other options, like "random page", but I guess that the problem is that you should select a shortcut target only if you want to use "First subpage of current page" as shortcut mode!!
- Target version set to 7.2 (Frontend)
- Is Regression set to No
Persists to master (CMS7), but I think this has something to do with wrong handling of the subpages of current page thingy
- Status changed from Accepted to Closed
- Priority changed from Should have to Won't have this time
This is not really a bug, but a feature. :-)
The actual naming of the Shortcut Mode is "First subpage of selected/current page". If you only switch the shortcut mode and leave the field "Shortcut target" as it is, you change the shortcut and menu generation to "Link to first subpage of 'shortcut target'". Which I guess was was not existent in your case and thus the menu of this shortcut is not generated because the "first page of the shortcut target" was not accessible.
If you clear the field "shortcut target" everything works as expected.
I will now close is issue. If you do not agree with my explanation and you think there is still an issue, feel free to reopen this ticket or create a new one. Thanks!
Also available in: Atom
PDF