Page 1 of 1

templates and layouts delete stright away - please change!

Posted: Thu 29. Jul 2004, 21:49
by spirelli
please add a warning that appears when pressing the delete button for layouts or templates. It's just too easy to lose a lot of work.

Posted: Thu 29. Jul 2004, 22:04
by Pappnase
hello

nothing will be deleted
if an template is deleted then goto the database to the table

phpwcms_template

there you will find

template_trash

to recover the deleted template change the value from your template from 9 to 0 and voila it's back again!

Posted: Thu 29. Jul 2004, 22:36
by spirelli
"goto the database to the table"
How do I do this?

I think a warning like all other deletions would still be good!

Posted: Thu 29. Jul 2004, 23:12
by Pappnase
hello

via phpmyadmin.

and why normal user couldn't come to the admin area where the template are.

Posted: Thu 29. Jul 2004, 23:19
by spirelli
Thanks.
Pappnase wrote:
via phpmyadmin.
You see, what a hassle :roll:
and why normal user couldn't come to the admin area where the template are.
Yeah, that's good. But nobody is perfect, not even admins. These small buttons are hit quickly. So to save them having to go to phpmyadmin there should be a warning that asks for confimation as anyone would expect. :D

Posted: Thu 29. Jul 2004, 23:39
by Pappnase
spirelli wrote:Thanks.
Pappnase wrote:
via phpmyadmin.
You see, what a hassle :roll:
and why normal user couldn't come to the admin area where the template are.
Yeah, that's good. But nobody is perfect, not even admins. These small buttons are hit quickly. So to save them having to go to phpmyadmin there should be a warning that asks for confimation as anyone would expect. :D
hello

yes you're right nobody is perfect! but if you're admin and will delete an template and you now how to recover it in a few seconds. than this should be no problem or?

Posted: Fri 30. Jul 2004, 00:37
by spirelli
Exactly right. But even better would be if a mistake would be prevented by having to confirm this delete. Don't you agree?!

[It would take me a couple of minutes rather than a few seconds. :wink: ]