I am going through the tutorials on my local PC running XAMPP. I have successfully added a new "Home" page type as explained in tutorial 1. However when it comes to add another two page types -- "Article" and "Article Holder" in tutorial 2, something strange happened.
As soon as I added these two php files into the mysite/code folder and updated the database, the CSS of the main site(on empty theme) will be broken. The dark grey footer with links to CMS, draft site etc would be brought up to be just below the content. This footer should ideally always stay at real bottom of the page no matter how long the content is.
Another problem is that after adding the two page types, I could never log in to the CMS again. Whenever I clicked on the log in button, I saw an error page saying "Security.SS not found" and something like that.
I have tried to add the "Article" and "Article Holder" page type first and then the "Home" but the problem remained. But if I only added the "Article" and "Article Holder" there would be no problem. So I am suspecting that it is the "Home" page type conflicting with the other two.
I am absolutely new to Silverstripe. If anyone can give me a hand, that would be much appreciated.