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

Come up with script for new Pods Flexible Relationships feature video #4215

Closed
PodsBot opened this issue May 18, 2017 · 7 comments
Closed

Come up with script for new Pods Flexible Relationships feature video #4215

PodsBot opened this issue May 18, 2017 · 7 comments
Assignees
Milestone

Comments

@PodsBot
Copy link
Collaborator

PodsBot commented May 18, 2017

Come up with script for new Pods Flexible Relationships feature video submitted via Slack by sc0ttkclark

@sc0ttkclark
Copy link
Member

Let's limit this to 1-2 minutes and let's show how you used to have to work with relationships (no add new, no list view), then show how powerful the new add new and list view features are when entering content.

@jimtrue
Copy link
Contributor

jimtrue commented May 18, 2017

Introduction

"We here at Pods know you love our relationship fields. They make creating great connections between your content so easy."
[Showing Books and Authors easily linked on the front-end displaying information between both post types].

"But when you're working in the back-end admin, they've always been missing a little something...

"I have a Books and Authors pods and they're connected through a bi-directional relationship field (Books has Related Authors and Authors has Related Books)"

"Like, I can't easily add a book to the author's post when I'm at this post, I have to jump over to Books to add it."
[Demo, jumping to Books, Adding a Post]

"And I can't easily edit the existing details without jumping over and finding that record" [Jump to Books, find the record]

"I can't even view that exact record easily"[switch to front-end, click link for book and 'edit record', still a couple of clicks]

"Well, that's all about to change in Pods 2.7 with Flexible Relationships"

@sc0ttkclark
Copy link
Member

Let's be sure we define what pods / fields we'll have in the demo (already created).

@jimtrue
Copy link
Contributor

jimtrue commented May 18, 2017

See note above, added that 'expository' text

@jimtrue
Copy link
Contributor

jimtrue commented May 18, 2017

I'll be uploading the pods/templates as a migrate package here.

@jimtrue
Copy link
Contributor

jimtrue commented May 22, 2017

Demo Configuration with Books & Authors and the Templates that connect them.
flex-books-demo.json.txt

@jimtrue
Copy link
Contributor

jimtrue commented May 25, 2017

Updated Script:

We here at Pods know you love our Relationship fields. They make creating connections between your content so easy and powerful.

On this site I have a Books Pod and an Authors Pod and they're connected by a BiDirectional relationship from Books to Author and from Author to Books.

It makes it very easy to create meaningful content, because I can be on the Author's page and see all of their related books. Or I can click on a book and easily jump to the author of that book. Everything is connected.

Now the problem is, when you're working on the back-end, say I'm editing this author, I don't have an easy way to add a new book. I can pick from a list of existing books, but to add a new book, I have to go to Books, Add a New Book, and then select the Author.

Likewise I can't easily edit the existing details for a related record without finding that record first. So if I'm in this book, I have no way to edit existing details about the author. I have to View Book, Select the Author, Edit the Author or find her in the list of Authors and then edit her record. It takes you out of your existing workflow and it's not very user friendly.

All of that is about to change with our new Flexible Relationships coming in Pods 2.7.

Now when you're editing an Author, you'll have an Add New button under the list of Related Books to Add New books. This opens a modal window where you can add the related record. It's not just one field entry, either, it's the entire Add New screen for the related post so you can edit ALL the fields for the record. Click publish and the new record has been added to the list of Related Books.

Likewise, we make it really easy to edit existing records, just click the edit icon and boom you're in the record. You can change the content, hit update and it's in there.

To View a Related Record, just click the View Icon and the related book will open in a new window. And finally, to Deselect or Remove a Related record from the list of Related Books, just click the Deselect icon and it's removed. Working with relationships couldn't be simpler, easier or more powerful.

Configuring the new Flexible Relationships couldn't be simpler: To have access to the 'Add New' option, just upgrade to 2.7. Adding New records is automatically enabled for all relationship fields. The Add New option can be deselected, of course, on a field by field basis and adding new records is still restricted by roles & capabilities of the user editing the post.

To access the power of the relationships we just demonstrated, you'll want to change your relationship field format to "List View" under Additional Options for your field. This gives you access to the additional options for Show Icons, Edit and View, which you can set on a field by field basis.

End Tag: We're excited to be bringing you this long-awaited improvement to Pods. Head over to pods.io/Pods-2.7-beta-announcement/ to find out all the details.

@jimtrue jimtrue closed this as completed Aug 5, 2017
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

3 participants