View more context

 

manueltomasir

Hey yall, does anybody have experience using Deployer with SilverStripe? I'm trying to test it out for deploying sites to stage and live servers, it looks to have a recipe for SilverStripe, but for the life of me I can't figure out how to use it, when i run the dep init, it isn't displayed in the list of recipes there

MichalKleiner

Hi @manueltomasir, please do not post the same question to multiple channels, it’s usually not gonna get much more people to look at it. If it’s not a specific version of SS related, the #general channel might be a better bet. Thanks.

manueltomasir

i do have an SS4 specific question...I had help with this before, and everything i tried on my previous build doesn't seem to be working on this one...might be a step i'm missing in the documentation i put together from last time...

i migrated a site to my stage server, everything seems to work, except for the homepage template...it isn't using the actual template SS file, it is just displaying the default "Welcome to SilverStripe! This is the default homepage. You can edit this page by opening the CMS." text

manueltomasir

i've confirmed the page type is set in the CMS for this page

manueltomasir

something to do with the naming conventions on the files...I changed to http://Homepage.ss and Homepage.php and it works...instead of http://HomePage.ss and HomePage.php

MichalKleiner

If your PHP class name is HomePage with capital P, the template needs to be named like that, while reflecting the namespaces if used.