#013529: Pagelayout override doesn't work in content/versionview if siteaccess is not forced in parameters
Description:
I use the ezwebin toolbar and I also set up a pagelayout override (based on class identifier). When I use preview function of the toolbar, the override rule is not honored.
In the admin interface, the iframe for preview uses an url like /content/versionview/71898/1/fre-FR/site_access/<choosen_siteaccess>
In the front end interface, the preview uses an url like /content/versionview/71898/1/fre-FR
With the last one, no override rules on pagelayout can work because, preview view uses kernel/content/versionpreviewiframe.php where no design key is set. Preview button with ezwebin should redirect to preview with siteaccess in parameters or design keys should be set in versionpreviewiframe.php to make pagelayout override works (patch attached for the last one)...
Environment:
Operating System:
PHP Version: (please be specific, like '4.4.3' or '5.1.5')
Database and version:
Browser (and version):
Steps to Reproduce:
1. install ez publish with ezwebin
2. make pagelayout override for example on class_identifier
3. edit an instance of this class_identifier class
4. use preview function of the toolbar
the wrong pagelayout is used.