Is there any way that Pod fields can be grouped into field sets?

0

I need to create some pods that have a large amount of fields. Is there a way to group them together into field sets in the CMS to make it more visually organized for the user?

asked Nov 13 '11 at 10:46

macro6

1

edited Nov 13 '11 at 10:48

add comment
enter at least 15 characters

5 Answers

1

The easiest way is to use either Pods UI or publicForm() to create a custom screen with the fields grouped.

answered Nov 14 '11 at 3:41

chris.pilko

889

Does the Pods UI actually let you group fields together or would this require getting into the code? Would this be something that was available in 2.0? – macro6 Nov 15 '11 at 1:28
add comment
enter at least 15 characters
0

Messed up and wrote a comment in the wrong place, sorry...

answered Nov 15 '11 at 1:21

macro6

1

edited Nov 15 '11 at 1:29

add comment
enter at least 15 characters
0

Pods UI _is_ writing code. publicForm would also require writing some code. The docs for Pods UI are pretty limited right now. There is an awesome getting-started tutorial here, and the complete documentation for the one function that is Pods UI here.

Maybe pick a path that you want to go down, post some starter code, and people here can help you get there? The formatting is accomplished using a combination of publicForm or Pods UI and the Pods display helpers.

answered Nov 15 '11 at 5:36

magi182

110

add comment
enter at least 15 characters
0

I would approach this using the publicForm() method by writing a template file in combination with some display and/or input helpers. I would then just create a blank page that uses the template file I made to display the input fields how I want them. You can also use Pods UI to create a template file. Either way, it will require code, but it's not terribly difficult if you're nudged in the right direction.

As magi said, post some starter code, and maybe you'll get nudged.

answered Nov 16 '11 at 4:08

madyogi

18

add comment
enter at least 15 characters
0

I don't really have any code to show, I am currently evaluating Wordpress/Pods CMS to handle a project to create a business directory for a tourism website. My concern is that there are a large number of fields per business which I would like to split into separate tabs using Jquery tabs. Basically I just want to be able to wrap divs around sets of fields so they don't see the entire form at once. I am having difficulty seeing how either Pods UI or PublicForm can achieve this. In a perfect world I'd see it working something like this in the Pods UI:

 $add_fields = $edit_fields = array(
                'tab1' => array('name', 'address', 'etc..'),
                'tab2' => array('photos'));

There will be an Admin version and a public facing version for individual businesses. I am not sure if this comes up very often with Pods users but a nudge of any sort would be greatly appreciated!

answered Nov 24 '11 at 5:25

macro6

1

add comment
enter at least 15 characters