Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Great module
i want to select audio, and the user "flags" the audio, but the selection is crucial for the node and i can only show the selection for the user, globally, and not the user in that node
Best regards
ArchGalileu
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedComment #2
joachim CreditAttribution: joachim commentedI'm sorry, I don't understand what you mean. Can you explain in more precise detail please?
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedI have 2 content types:
- "audio file and player" (30 nodes)
- "List of audio choosen" (5 nodes or more per user)
To a user choose the "audio" for the "List of audio choosen", i use flags.
The flag is on the content type "Audio file and player"
in the content type "Playlist" i add a view, as block, with a list of available "audio files with player"
also in the content type "Playlist" i add another views block with the "flagged" "audio files and players"
what happens is that it is the same "choosen list" for all "List of audio choosen" content type
Would be great to add only the "ones" choosen in that "list", so i think something like a "nid" "contextual filter", more or less
What you think? I am dive all around this for 2 weeks, and lossing my healthness :)
Best regards
ArchGalileu
Comment #4
joachim CreditAttribution: joachim commented>To a user choose the "audio" for the "List of audio choosen", i use flags.
> The flag is on the content type "Audio file and player"
I don't understand. How do you choose nodes of type A with a flag on type B?
It sounds like you want your users to be able to make multiple playlists. There are 2 ways you can do this with flag. Neither is that brilliant:
a. create one flag per playlist. This will not scale. Your users will only be able to use fixed playlist flags that you have created. They will not be able to add their own.
b. add a field to the flagging such as a taxonomy tag. This tag represents the name of the playlist. The problem here is that you need a form for your flagging. This means you can't use the AJAX flagging link which appears to be the main reason you want to use flag.
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedHi joachim
a. is very good bescause a create the "playlist" flag in automate way :)
b. is the tricky part. Can i do it with out the user intervention? In a automatic way? tokens? maybe...
Like this i could filter in "views" by user and "both" flags :)
Best regards
ArchGalileu
Comment #6
Anonymous (not verified) CreditAttribution: Anonymous commentedHi joachim
About option "a."
How can i filter, in "views", with "contextual filters" as arguments, for the recent created "flag" in automated way.
One "view" and it filters by "%1" (the created flag from url" and the "user uid relation"?
Best regards
ArchGalileu
PS. i will try to do this, but, if some idea.... please :)
Best regards
ArchGalileu
Comment #7
joachim CreditAttribution: joachim commentedI don't think there's a views argument handler for the flag machine name. You'd have to write one.
Comment #8
Anonymous (not verified) CreditAttribution: Anonymous commentedDo you know, Joachim, how to make it? Write the argument handler?
Best regards
ArchGalileu
Comment #9
joachim CreditAttribution: joachim commentedI don't fully understand what you want, and I don't have that much free time!!
It sounds like you need to hire a developer, if you don't have one already.
Comment #10
Anonymous (not verified) CreditAttribution: Anonymous commentedDo you advice some developer, Joachim?
Best regards
ArchGalileu
Comment #11
Anonymous (not verified) CreditAttribution: Anonymous commentedHi joachim
I found one github project
https://github.com/Cyberschorsch/views_flag_context
I will try and say how it goes
Best regards
ArchGalileu
Comment #12
Anonymous (not verified) CreditAttribution: Anonymous commentedHi joachim
how can create a flag with rules?
Is it possible? like this and with the views_glag_context it is possible to have "multi-lists"
PS. can i hire to develop in this direction? If so, who you advice? And then, when made, present to everyone that possibility :) would be beatiful :)
Best regards
ArchGalileu