Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Add to campaign" on versioned GridFields #89

Open
4 tasks
chillu opened this issue Feb 20, 2018 · 5 comments
Open
4 tasks

"Add to campaign" on versioned GridFields #89

chillu opened this issue Feb 20, 2018 · 5 comments

Comments

@chillu
Copy link
Member

chillu commented Feb 20, 2018

Overview

At the moment you can only add pages and files to campaigns via the UI. Other DataObjects can be implicitly added through a custom $owns relationship on a page or a file, but not separately through the UI.

Acceptance Criteria

  • I can add a DataObject to an existing or new campaign when viewing it in ModelAdmin
  • I can add a DataObject to an existing or new campaign when viewing it in GridField (e.g. nested in the pages section)
  • The functionality should be enabled by default on GridFields managing versioned records
  • I can find out about these capabilities through https://docs.silverstripe.org/en/4/developer_guides/model/versioning/

Notes

@bergice
Copy link
Contributor

bergice commented Oct 1, 2018

@chillu

Need clarification on whether any DataObject can be added to campaign or just Pages and Files.

@chillu
Copy link
Member Author

chillu commented Oct 2, 2018

@bergice Yep, any dataobject. It might not have a way to be previewed within the campaign admin (unless defined by the dev?), but that should be handled gracefully already in the UI.

@bergice bergice removed their assignment Oct 16, 2018
@clarkepaul
Copy link

@chillu FYI I've added this to backlog/discussion pipeline as this should be something we do (along with the ability to add content blocks to a campaign without the page it belongs too).

@KINKCreative
Copy link

Has there been any movement on this? Are there other workarounds to add a custom DataObject to a Campaign?

@UndefinedOffset
Copy link

UndefinedOffset commented Jul 7, 2020

Not sure if there's been movement on this side but I put something together on webbuilders-group/silverstripe-add-to-campaigns we've used it on a few projects and it seems to work well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants