Message of the day:
Welcome. Latest release: https://www.silverstripe.org/download Community Forum: https://forum.silverstripe.org Features: https://forum.silverstripe.org/c/feature-ideas Archive: https://slackarchive.silverstripe.org
If you have any SilverStripe related questions, please supply the version of Framework you're using.
Did you flush? 🚽 =
Archive temporarily at https://archive.codingplayground.nl (redirect)
Ok, so I think the trick was in GridField source. I populated it wrong and it should be exactly the relation name like $this->owner->MyManyMany(), my bad.
Hmm any experience with having a SiteConfig with many_many/has_many and managing it through a GridField? Because it is somehow failing to assign a DataObject to its SiteConfig after creating one.. SiteConfigID is 0 or many_many is not created.
I came up with a hack so when Director::is_cli() you allow publishing. Thanks for checking @MichalKleiner
You need to log in a user under which you wanna publish the page @priyashantha. Check some framework unit tests how that is done.
Hi there, I'm working with the silverstripe-s3 plugin and I've applied a policy that means that public files are accessible and protected ones are as per this document https://github.com/silverstripe/silverstripe-s3. So far so good, however when I publish an image it is sometimes referencing the protected image, and sometimes not on refresh. Has anyone come across this issue before?
I'm having an issue with page publishing via a unix cron.
SiteTree::doPublish() checks for publish permission. On live mode it fails. Anything we can do so cron can publish a page please? this in ss3
Ugh, I love calculating tax
It, funnily enough, seems to include common Google results from children though...
Yah, these schools don't "cache the entire internetz", but only cache what they immediately need locally, because the other option is a latency connection that'll probably time-out, for things they need on a regular basis
@Firesphere Ahh I see, it’s not so bad if it’s just teaching materials I suppose..