Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

How do I create another page? And a slew of questions from a beginner


Go to End


749 Views

Avatar
JFantastic

Community Member, 1 Post

8 August 2017 at 4:26am

Hi, I have migrated a theme that I created using bootstrap to silverstripe recently. I want to create another web page, for ex, "About Us". I saw this when I logged into the admin console, but when I clicked the link "localhost/silverstripe/about-us" it simply redirected me back to my main page. I assume it's because I haven't actually created the about-us page yet, so how would I go about creating another page with its own URL (for ex on my localhost: localhost/silverstripe/about-us) for silverstripe?

Do I just create another Page.SS somewhere and then start typing html again?

I tried to follow the silverstripe video tutorials. In lesson 4 "How to Work with Multiple Templates", I see the user creates a Home Page that relates to $Content. I'm not sure where to put $Content in my Page.SS and I just put it in my body, so when I tried to follow the steps and created HomePage.SS in mysites/code, I was met with a lot of red errors upon flushing with /dev/build. Is that the way to create a new home page, or am I doing it wrong?

Also, I want to make certain areas of my website editable via the admin console. However, when I login to it and select Home, under the "Content" window the text is the text that comes with the default simple theme. How do I make it so that certain areas of my HTML will be editable, for example an admin could modify images and text?

Thanks, I've had a lot of questions and all the docs felt overwhelming for me. Hopefully someone can help!