Jump to:

23377 Posts in 18296 Topics by 2868 members

General Questions

SilverStripe Forums » General Questions » Deleting Pages

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 433 Views
  • Priddo
    Avatar
    Community Member
    3 Posts

    Deleting Pages Link to this post

    I'm working on my first ever site in SilverStripe, and I'm picking it all up as I go, I've managed to add a page type, and set up a custom made theme, but I've got one annoyance I can never seem to work out, and it seems really stupid.

    How do I delete a page in the CMS? I ran /dev/build?flush=1 to update pageTypes, but it also added a 'home' page to the site, which I don't want. I can unpublish it and delete the draft, but I still have it in my list, and I'd really like to keep this as tidy as possible. I think I might be blind or missing something simple that I've overlooked.

    Thanks for any help.

  • n0ne
    Avatar
    Community Member
    18 Posts

    Re: Deleting Pages Link to this post

    Afaik u can't premamently delete Home page cuz it's your main page (when U visit yourdomain.com), so maybe u should create a new home page in your mysite/code and if You don't wan't it to be displayed in the menu as "Home" u should just change the label.
    Another solution would be to create a home page class that would redirect to another page.

    433 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.