A preview extension for pages with multi website rootRelease Candidate! This version may contain some bugs!
abidePreview for what? This extension is designed for installations with more than one website root. If you got more than one root, the preview may not work correctly for all pages without adjustment. E.g. if you define two roots in different languages you may change the language settings of your browser to get the page you want.
How does this extension work? With every action in the backend this extension tries to determine the corresponding root page. Therefore the automatic detection checks if a breadcrumb was set in an article of page tree. If no breadcrumb was set ('All' selected), the extension try to find a root page depending on the current article of page. If no root page could detect, the previous found root is still used. If no page was found before, the first root page corresponding to the fist page in user’s page mount is used. Therefore a root page will found in every situation. If the automatic detection may not work correct, you are able to select a root page manually. The current detected or selected root page will show in the headline of the infobar and in the title of the preview page. The elements which should show for the root page could be defined in the settings dialog. As long as the user is logged in into the backend, every request of a frontend page will be manipulated in that kind, that the browser request will be overwritten by the settings of the current root page. E.g. the language of the browser request will be overwritten by the language of the current root.
What else? Another feature is designed for the backend itself and change the filter for the createPageList function. This function is used when you define a hyperlink and open the link target tool box. Now the list will not filter only to the pages matching the current log in domain, the filter will now show only the pages matching to the current root page. |