error element in view.php

Permalink Browser Info Environment
Hi,

Can you update the view.php with the corrected error element? You can use:

<?php
                View::element('system_errors', [
                    'format' => 'block',
                    'error' => isset($error) ? $error : null,
                    'success' => isset($success) ? $success : null,
                    'message' => isset($message) ? $message : null,
                ]);
?>


You can take a look at the view.php file in the Element theme. This way also success and normal messages can be displayed.

Using this in development mode, working fine!

Thanx in advance!

Type: Pre-Sale
Status: In Progress
SnefIT
View Replies:
c5box replied on at Permalink Reply
c5box
Hi

Thanks for letting me know. I'll apply this on the next version release. :)

James

concrete5 Environment Information

n/a

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.