Message of the day:
Common Web Platform for the New Zealand Government, need help? Ask!
Anything related to the Common Web Platform, a CMS built on Silverstripe for government
@Lhalaa has joined the channel
does anyone know if/how
SS_BASE_URL is configured in CWP environments?
any idea how I would reliably find the base URL from something like a queued job in that case? do I just need to implement my own solution to handle that?
or alternatively can we request
SS_BASE_URL is set on a case by case basis?
Probably worth chucking in a helpdesk ticket as it's been a while and I'm not sure what the preferred solution is nowadays, but they can add custom environment variables if required 👍
Hi everyone, CWP 2.3 has been released! It's a release full of great stuff. Check out the release announcement to see what's included: https://www.cwp.govt.nz/updates/news/cwp-2-3-has-landed
The latest minor release for the Common Web Platform has arrived! CWP 2.3 introduces major upgrades to the CWP themes, plus the recent SilverStripe 4.4.0 release which includes a number of new features for Content Managers and improvements to the Developer experience aimed at delivering higher-performing websites.Hide attachment content
If there isn't I can raise one 🙂
Is there a github issue for this?
or where you want to get at the actual db value use
in a minor version update
remove or rename the method
... CWP News Page has one of these as a $db field:
- private static $db = [
- 'Author' => 'Varchar(255)',
But it's a Page type, which is Versioned.... which has a
public function Author() method
The result is that Author is not shown at all... how would you go about resolving this?