Details
-
New Feature
-
Status: Closed
-
Normal
-
Resolution: Won't Fix
-
2.24.01
-
None
-
None
-
None
Description
You should be able to limit the creation of a cross-channel link to channels of the same type. For example, consider the GoGreen setup with a bunch of 'website' channels in several languages, and a bunch of 'mobile' channels in several languages. All languages have a website, but not all languages have a mobile site. On the mobile site, you want to render a list of links to all other 'editions' of that mobile site.
A way to do this is to get the HippoAvailableTranslationsBeans for the site content base bean, and create a link for each translation. However, that will generate a link to the website if no mobile site is present. In that case, it should be possible to somehow restrict the link creation to mobile channels only, so you get a pagenotfound when no 'mobile' link could be created.
The next tricky bit may be to determine which 'type' should be taken into consideration here... as mounts can have multiple types, and only one of them may be 'mobile'. That could be solved client-side (e.g. store the type of a channel in the channel properties of the blueprint).
Attachments
Issue Links
- is awaited by
-
GOGREEN-799 Mobile site shows links for languages that do not have a mobile site
- Closed