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.

Archive /

Our old forums are still available as a read-only archive.

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

SOLVED: Newbie: Home page won't use HomePage.ss !


Go to End


4 Posts   1954 Views

Avatar
dhumble

2 Posts

10 November 2007 at 3:42am

Edited: 10/11/2007 6:30am

Installed SS 2.1.1 on CentOS (linux) and using BlackCandy template.

I want to remove the page heading on the Home page. I copied blackcandy/templates/Layout/Page.ss to HomePage.ss, edited out (even changed) H2 text. But browsing page with ?flush=1, no change. :-(

Any suggestions as to what I am doing wrong please?

David

Avatar
dhumble

2 Posts

10 November 2007 at 6:30am

Moving HomePage.php to /cms/code/sitefeatures/ solved it!

David

Avatar
Sigurd

Forum Moderator, 628 Posts

10 November 2007 at 6:04pm

btw, you shouldn't need to move files into /cms/ as that prevents you from upgrading your cms folder easily

Avatar
RichardVowles

Community Member, 5 Posts

14 November 2007 at 6:10pm

The basic tutorial doesn't work at all. The Page.ss in tutorial isn't being used at all, the Black Candy Page.ss is being used. There is nothing in the tutorial to indicate how to get it to stop doing that.... I am using the Windows Installer version.