Page 1 of 1

Feature request: delete theme button

Posted: Tue Dec 26, 2006 1:12 pm
by hgoor
Hi all,

First: Merry Xmas to all of you!

Now my question:

When I installed the latest beta of S9y I got 2 experimental themes with it that messed up my template chooser dropdown because the names where to long.

Since they where experimental, I decided to delete them. However: unlike with the plugins, there is no option to delete a theme from within the S9y administration backend. Why not?

So my feature request would be to be able to delete a theme from within the S9y admin backend :-)

Now I had to use a SSH sessionn and delete them manually, which makes no sense...

Re: Feature request: delete theme button

Posted: Tue Dec 26, 2006 1:15 pm
by yellowled
hgoor wrote:However: unlike with the plugins, there is no option to delete a theme from within the S9y administration backend. Why not?
I suppose it's because unexperienced users could accidentially delete the default theme, which would screw up a lot. However, they can do this using ssh or ftp as well, so it's not a "good" reason :)

YL

Re: Feature request: delete theme button

Posted: Tue Dec 26, 2006 2:20 pm
by hgoor
YellowLed wrote: I suppose it's because unexperienced users could accidentially delete the default theme, which would screw up a lot. However, they can do this using ssh or ftp as well, so it's not a "good" reason :)
YL
Well, it would not be so difficult to make at least the deafult theme (or 1 theme) un-deletable: that's what programmers are for anyway :-)

Re: Feature request: delete theme button

Posted: Tue Dec 26, 2006 4:41 pm
by yellowled
hgoor wrote:Well, it would not be so difficult to make at least the deafult theme (or 1 theme) un-deletable: that's what programmers are for anyway :-)
Finally someone found out what programmers are for. Thanks a lot :wink:

YL

Re: Feature request: delete theme button

Posted: Tue Dec 26, 2006 10:26 pm
by hgoor
YellowLed wrote:
hgoor wrote:Well, it would not be so difficult to make at least the deafult theme (or 1 theme) un-deletable: that's what programmers are for anyway :-)
Finally someone found out what programmers are for. Thanks a lot :wink:
YL
Your welcome..

Ps: don't forget they are here also to create bugs.. Uh, "undocumented features" I mean....

Posted: Wed Dec 27, 2006 7:41 pm
by Davy
Well, you can use PHP's rmdir() function to delete folders, so happy working on the new feature! :)

Posted: Thu Dec 28, 2006 8:48 pm
by garvinhicking
Hi!

The problem is that usually the 'template' directory is not chmodded so that PHP can unliunk/delete files. So in most cases the deletion would fail, making users require to go in to FTP the right permissions. But then, they could already simply delete the theme...? :)

For a first help I just shortened the experimental theme/template names...

Best regards,
Garvin