• Hi i got another probably stupid wuestion so please forgive me,
    Im trying to display different vfields and after searching the form i found these two options

    [pdb_list groups=”common,group_a”]
    [pdb_list groups=”common,group_b”]

    [pdb_list fields=”first_name,last_name,availability” filter=”data_capturer=Yes”]

    But if i try the same setup it just gets screwed 😉

    So i create different groups but you can set them as public or private or admin

    In the pugin you can only set 1 list, but using the short codes it doesnt work for me

    Any idea what i could be doing wrong?

    thanx

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Roland Barker

    (@xnau)

    Your shortcodes look correct, so perhaps they are not going into the page content correctly. It is best to use a “shortcode” block to place the shortcodes.

    Thread Starter doragondojo

    (@doragondojo)

    I created a simple new page with the examples i tried to use
    could you have a look and see what im doing wrong?
    as far as i can see it breaks when i use the photo field
    i added the codes i used on the top of the blocks

    https://www.allroundfighting.com/test_pdblist/

    Plugin Author Roland Barker

    (@xnau)

    I don’t know what you’re trying to accomplish, that would be helpful information.

    The only problem I see is the photos are not displaying, and that is probably because of an issue with the plugin configuration. Take a look at the “File Upload Location” in the Participants Database settings. I can’t tell you what it needs to be, but it looks like the path you have in there now is not working.

    Thread Starter doragondojo

    (@doragondojo)

    I had no picture in the record yet so thats right it didnt show it, i added one now

    So my goal is simple, i want to display the normal list through the pdb_list settings which has just two columns. But for certain people, i want to be able to also display a photograph.

    i added a picture in the record so you can see that it shows the picture so the path and setup looks ok.

    its the behavior of groups and field in combination with the photo field thats strange to me

    thats why i made this test page to give you a look at what i have been trying.

    so to explain it:
    using the pdb_list filter=”full_name~jon bluming”, here i use the public view setup
    it behaves as expected

    the block with using pdb_list groups=”ParticipantInfo” filter=”full_name~jon bluming”, here i select only the first group of fields yet it shows the other fields as wel?
    so behaviour thought to be showing only the first group, yet it shows all public groups

    the block using pdb_list fields=”full_name,country” filter=”full_name~jon bluming”, at least gives me the two columns and not the rest of them
    so behaviour thought to be showing only two fields, and that is looking the right way

    the block using pdb_list fields=”full_name,country,photo” filter=”full_name~jon bluming”, i added the third field i want to show (also added a picture in the record) but then something breaks as it shows only the country field
    so behaviour thought to be showing the first two fields from the first group and the photo field from the third group, yet it shows only the country field

    the block using pdb_list fields=”photo” filter=”full_name~jon bluming”, should in theory just return the photo field but it doesnt it shows me the the first group of fields which are full_name and country
    so behaviour thought to be showing only the photo field, yet it shows full_name and country, probably reverts back to the public setup

    the block using pdb_list groups=”PersonalPicture” filter=”full_name~jon bluming” should just return the field photo because thats the only one in that group, yet it shows all public groups.
    so behaviour thought to be showing only the PersonalPicture group, yet it shows all public groups

    i also tried a combination of groups and fields but also that didnt do it
    using pdb_list groups=”PersonalPicture” fields=”photo” filter=”full_name~jon bluming”
    this was just a ill give it a try but it shows all public groups

    • This reply was modified 4 years, 11 months ago by doragondojo.
    Plugin Author Roland Barker

    (@xnau)

    So… there are too many to comment in individually, I’ll just give some general guidelines. The features you are having trouble with are tested and working, the most likely explanation for what you are seeing is that the shortcode syntax is not correct.

    For this reason, it is best to use a “shortcode” block for the shortcode. Using an HTML block is not reliable.

    The global configuration of which fields to show in the list is found on the Manage List Columns page. This is what will show if there are no “fields” or “groups” attributes in the shortcode.

    You cannot combine “fields” and “groups” attributes in the same shortcode.

    If the name in the attribute does not match the field or group name, it will show the default. You must use the “name” not the “title” in these attributes.

    Thread Starter doragondojo

    (@doragondojo)

    Hi so again im sorry if i sound stupid
    I am using simple shortcodes i thought ??
    I checked the short codes and the attributes and apparently groups cannot be used in pdb_list

    i thought i do it in reverse
    i added the photo field in the list setup

    and im trying to show the list without photo using the fields attribute
    but im sorry its not working

    i changed the page and took out everything, there is only the simple short code
    [pdb_list fields=”full_name” filter=”full_name~jon bluming”]
    and still it reverts to the standard list

    Thread Starter doragondojo

    (@doragondojo)

    so i have been trying some different combinations
    And the examples i used were like pdb_list fields=”field,field2,…”
    and aparrently this is not correct

    i now created an example with the following
    [pdb_list fields=full_name,photo filter=”full_name~jon bluming”]

    so not using the quotes

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘having multiple listviews’ is closed to new replies.