← Back to Page Preview Support
Spoonzor
Hi,
Cool plugin really! It would be great to implement it on Rainlab's Page plugin. That would be awesome!
Best Regards!
frozendo
Hi,
Thanks for your review, glad you like it! I'm working on Page plugin compatibility, I hope it'll be released soon.
Spoonzor
Hi, Thanks for listening to this feature request!
I can't use it apparently i get an error on each page :
Arrays are not allowed in class constants
/home/scriptlo/public_html/radio/plugins/frozendo/pagepreview/classes/StaticPageController.php line 22
TYPE
Undefined
EXCEPTION
Symfony\Component\Debug\Exception\FatalErrorException
'alias' => 'staticPagePreview'
],
'RainLab\Pages\Components\StaticBreadcrumbs' => [
'class' => '\Frozendo\PagePreview\Components\StaticBreadcrumbs',
'alias' => 'staticBreadcrumbsPreview'
]
];
public function config()
{
$this->validateRequestTheme();
$data = post();
frozendo
Hi, it seems that not every version of PHP support array in constants, I will fix that by monday, thanks for the bug report !
1-8 of 8