I am quite new to the Participants Database (like as of yesterday) and am working my way through things as well, but I would suggest you try one of two things;
If you have BR and PONY fields in separate groups use the group filter (it will only display fields that you have “Column” numbers other than 0 in):
[pdb_list groups="brstuff,abc,def,ghi" filter="type=brpage"]
[pdb_list groups="ponystuff,def,ghi" filter="type=ponypage"]
Or you can simply specify which fields you want to see:
[pdb_list fields="brinfo,foo_1,foo_2, foo_3" filter="type=brpage"]
[pdb_list fields="ponyinfo,foo_1,foo_2, foo_3" filter="type=ponypage"]
Obviously, my group/field names are wack. 🙂
One oddity that I found with the “post->post-name” filter tip is that you can’t have a hyphen in your page slug. Well, you *can* but then your filter has to use a “?” in place of the hyphen. Drove me nuts for a while.
You can indeed have hyphens on your page slug…WordPress uses them all over the place and they work fine in the shortcode filters. I’d be interested to know how you’re running into this problem so I can check for a bug.
The value to use to capture the page slug is “post->post_name” by the way. Just want to make sure people are using the right string there.
Tried both of the suggestions. Still can’t get the list to elimate one of the columns. When I use the post->post-name and then enter a record is does not get filled in. Do I put that code on the page I want to be recorded in the default box right next to the title of the field?
I changed the page name and slug removing the hyphen and try this code.
[pdb_signup groups=”main,player”]
[pdb_list search=true sort=true filter=”type=brosters&league=Babe Ruth”]. it don’t work. The way I at leas get it to show the list but has that extra column is having it like this. [pdb_signup groups=”main,player”]
[pdb_list search=true sort=true filter=”league=Babe Ruth”]
I don’t do this much so I am not good at the code. Maybe I will have to live with the extra column showing.
I could also ask about my next problem which I was close to making working. New subject and post, but similar. I have another group that I made where they can enter scores, it works but there are a bunch of extra bland rows so when I try to set the order by date entered those blank rows show up on top.
This is driving me nuts.
Correction I am using post->post_name. Got that right from the post I found when searching. sorry typed it wrong in previous post.
Here is what I did trying to follow the post I found. I created three separate Field Groups, Participant Info (slug=mail), Players (slug=players), Player(slug=player). I used a plural just because I was having some problems naming them Babe Ruth and Pony. In Participant I have jersey #, first name, last name, Age, positions.Players I use PONY-TEAM with a radio button for teams list, and I made a leagues field with a required checkbox named PONY just because I couldn’t get the lists to be separate. And I have a field and made it p and have in the default box post->post_name. Now the player group is similar with a couple name changes.
I cannot get the list to show up separate.
Not sure if this is appropriate but I could always give you access to the site if you wanted, Nothing important or needs to be secure on it.
I am willing to take a look if you want to email me a login… I’ll get a better idea what you’re trying to do.
Where do I find your email?
Re: hyphens in slugs
well… I stand corrected. I do not know what as happening a couple of days ago, but now if I change my filter to include the hyphen (vs. ?) it works just fine. Aargh.
BTW, your response-time on this forum is wonderful and greatly appreciated.
Coachsteele99,
Yes, the code goes in the Default field.
You also want to make that field the “Hidden” Element
You also want to check the Signup box for it as it has to be on the page (albeit hidden) in order for it to work.
mu support email is support AT xnau.com
I have not idea how I figured it out, but I did. What I want to work works now. Issue resolved. I know it had to do with feedback in the post and continuing to read posts I found on this Plug In.
A huge Thank You to all.