Currently when myself and or a user uploads an image to a gallery, the drop down contains, say "none" "choice1" and "choice2"... I would like it to make sure they choose either choice 1 and or 2.... and not publish a file in the root of the gallery, or "none"..
Is there steps to make sure this happens and or am I missing something?
I'm using the Content Template module to display the fields that I've added through CCK. When I copy all the variables and format them accordingly, I still have the problem where blank fields display the title of the section without any content.
Can someone offer a non-developer some simple code to check if a field in the Content Template is blank and hide it accordingly? Thanks!
One my clients required a method for protecting uploaded files using the access rights from Organic Groups. Only users who were members of a group should be able to download a file that was attached to a protected node (i.e, a node which had og_subscriber set as the realm value in the node_access table). The kicker was that the client also needed to enable group members to make a node public, along with all the documents attached to that node.
I am looking for a way to extend the list of formatters of a given CCK-field without hacking the module itself. I want to create a custom module which extends the formatter-list of a CCk field.
To be more concrete:
I am using the filefield.module but I want a different display of the files within custom views. I can create a custom theme for the display but this will affect the display of all file-fields.