taoceanz

Thanks @thats4shaw When that publishes a page, would it cascade publish through the objects it owns?

taoceanz

Hey, is it possible to schedule a campaign to be published at a certain time?

taoceanz

Thanks @nightjarnz when uploading a file, it'll be saved into assets/Uploads, and not just assets, right? I'm pretty sure that's how it works but just sanity checking.

taoceanz

I'm tempted to create a url redirect, but fee there's probably a better more ss specific way to do this

taoceanz

I thought updating the url segment would work but that requires going to assets/show/1/show/1 to get to the desired folder

  1. SilverStripe\AssetAdmin\Controller\AssetAdmin:
  2. url_segment: 'assets/show/1'
taoceanz

Is it possible to change the Files admin area to open a particular folder by default?

taoceanz
taoceanz in #cms4 2020-02-12 03:36:38 (edited) (deleted)
  1. private static $db = [
  2. 'PromotionDate' => 'DBDatetime'
  3. ];

$filter['PromotionDate:LessThanOrEqual'] = DBDatetime::now();

taoceanz

~Hmmm, it returns anything for today regardless if the time on the DO is set to some hour in the future~ Jokes, I'd set the day for yesterday. It's working 🙂 Thanks @jkersu & @nightjarnz

taoceanz

Hey, does the LessOrEqualFilter work with datetime or just date? Trying to return all dataobjects with an activation date from this minute or less i.e. in nothing in the future past the current minute