Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2018-05-25 15:24:54
- Summer
- Member
- Registered: 2018-01-29
- Posts: 60
Theme page is forbidden to delete?
Why can’t the theme’s own page be deleted? The new page can be deleted? Change where to ensure that new pages are not deleted?
Offline
Re: Theme page is forbidden to delete?
I’m not sure as to which theme you are talking about, but it probably can not be deleted as it is in use.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#3 2018-05-26 01:35:53
- Summer
- Member
- Registered: 2018-01-29
- Posts: 60
Re: Theme page is forbidden to delete?
colak wrote #312089:
I’m not sure as to which theme you are talking about, but it probably can not be deleted as it is in use.
archive.txp default.txp error_default.txp
The delete button will not be displayed on these 3 pages. How can I not delete other new pages?
Offline
Re: Theme page is forbidden to delete?
Summer wrote #312095:
archive.txp default.txp error_default.txp
The delete button will not be displayed on these 3 pages. How can I not delete other new pages?
Those 3 forms are required to exist by TXP internally; you cannot delete them at the present time. If you don’t use, leave them empty and then ignore them, nothing bad will happen.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: Theme page is forbidden to delete?
Expanding on phiw13’s response, it’s generally good habit to use the default elements in Txp as they were employed (i.e. edit the markup as needed, but keep using the same default templates).
Some advantages:
- Better understanding of how Txp works by default.
- Fewer forms over all (especially as you can’t delete the defaults, so might as well use them).
- Less development, since you’re not creating new ones and changing all the markup in relation.
- Easier to get support help when talking about it, because most people here use the defaults and assume you’re using the defaults too.
- If you ever need to restore the original default markup, you can pull it directly from the dev repo.
Of course, you don’t have to use the defaults, but the above reasons are generally why many people do.
But I have not done much with themes at this point, so I might be speaking from an outdated perspective.
Offline
Pages: 1