Page Preview

Preview your pages before save. Markup, code, AJAX, components and responsiveness check support.

Back to Page Preview Support

Spoonzor
Spoonzor

Hi,

Cool plugin really! It would be great to implement it on Rainlab's Page plugin. That would be awesome!

Best Regards!

frozendo
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
Spoonzor

Thank you for your feedback, I look forward to this !! :)

frozendo
frozendo

Hi ! Page Preview now support Pages plugin. :)

Harti
Harti

Nice, thank you!!!

Spoonzor
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();

Screenshot here

frozendo
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 !

frozendo
frozendo

I've updated the plugin, can you please try the new version ?

1-8 of 8