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.