in our project we use tabs to organise the site blueprint quite often. We recently came to the point were a higher organisation attribute would had helped to improve the user experience. The idea was born to add a second “Site-View” which is able to filter out the relevant tabs.
What i achieved is:
- added an attribute to the blueprint-tabs as filter criterium
- added a second view and made it availble in the menu
- overrided the links according to the pattern (wether coming from “myview-link” or normal “view” link
The problem is: in order to differentiate which view to open a second URL/route pattern is needed (‘myview’ rather than ‘site’). Consequently all subsequent URLs and also the API routes must be changed which might be quite effortly.
What i originally wanted to achieve was simply: add another view which uses the same site model as the site view as all the data being shown and configured and myview also belongs to the site. So the question is:
How could i share the site model with the a second view.
Any help is appreciated.