wasn't sure where was best for this one
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
any idea why this may be?
i've confirmed the page type is set in the CMS for this page
something to do with the naming conventions on the files...I changed to
Homepage.php and it works...instead of
If your PHP class name is
HomePage with capital P, the template needs to be named like that, while reflecting the namespaces if used.
Hey all, has anyone had any luck getting the CMS to automatically switch to a tab reflected by a #hash in the URL?
So say I have a tab
Root_Reviews and I visit http://path/to/site/admin/editlink/#Root_Reviews then the CMS will show the reviews tab
Just trying to write some JS to do it, but wondering if someone else might have beaten me to it?