Let users create multiple playlists in Drupal website - drupal

How can I let users create their own lists of a particular content type? I have used the "Flag" module but it allows only a single list. I want the user to be able to create multiple lists. I have tried "Flag lists" but cannot seem to get it working. Any help will be appreciated. Thanks.

You can create multiple flags like flag1 for playlist1, flag2 for playlist2 and so on. and use flag api's to display them with content.
To display all the flags you can create tpl files for your content-type and display all the flaging links with flag api URL: https://www.drupal.org/node/1748148 .
Later you can use views to display the individual playlist.

Related

What is the syntax to add a column to the Custom Form list that shows where in WF it is used?

Super simple.
When viewing the list of Custom Forms in Setup, I want to add a column that shows where those Custom Forms are in use (or null if used nowhere).
This is similar in principle to viewing the list of fields, which has a list of forms on which those fields are used.
What is the syntax I can use to add the appropriate column(s) to the view?
As far as I know, there is no linkage in the backend that connects categories (custom forms) to their host objects. This is probably because the list could be massive and the query would take quite a while to execute as it would have to traverse every object in Workfront or each form would store every parent object ID.
Unfortunately, you can't even search for objects by associated category IDs, so if you wanted to build this yourself you would need to query each object and search its categories to see if your custom form appeared.

Sugar CRM - creating new module using module builder

I wanted to create a new module in my copy of Sugar CRM. I selected a package, and went to create a new module (using module builder). The last field in the form asks to select a module type . If we select module type, say, user, then around 10-15 fields comes up in the module. These cannot be edited. But I wanted to create a module which would consists of only those elements I wanted to. So is there any way to create a new module without having those fields?
For example, I wanted to create a module called 'donation' which would contain the list of all donations made by the users (1 'User' can make MANY 'donation'). Since user field will
always contain all the user detail (example, first name, last name, email etc), so we do not repeat them for each donations made by the user. So donation module should contain only field like
["user-id", "donation-amount", "payment-method", "cc-number"].
Any Sugar usercan help me in this issue?
Thanks.
Just simply hide the unwanted fields on the various views. Some of these fields are basically required by the framework in one way or another (name, date_modified, etc). But it doesn't mean that you need to utilize them. The other additional fields could be removed from the vardefs.php if desired, but it isn't worth the hassle usually.

Drupal 7 and Views, contextual filters searching through multiple/combined fields. Is it possible?

I've worked with Drupal 7 and Views for a while now and I'm familiar with what Views allow by default and what is available as modular add-ons. Today I've come across an issue with Contextual filters, which allow you to pass in an argument via the URL and use this to filter the returned data.
Normal filters on the other hand can be exposed as a form and also allow for a field combination module which means we can search field{1,2,3} all at once and display the data depending on this input. (views_combined_fields)
Is it possible to tell Views to show me all rows (WHERE field1="test" OR WHERE field2="test" OR WHERE field3="test") but by default, if I add in multiple contextual filters only one of them is being triggered. In this example the "test" value is obtained from the url /data/test.
My problem is that users have a default group, but they also have the option to be added into other groups which are set in the field{1,2,3} fields. My current view shows all users WHERE group = "test" but I want users who have a secondary or tertiary group of "test" to also be displayed in this list.
As i understood, you are talking about Views Arguments, watch the tutorial video from
MustardSeedMedia.com. And useful video about Views 3 User Interface

Drupal: new content module for manage lists

Does anybody known about module for new content type "Lists", like a module WebForms used for manage different web forms, it ("Lists") manage different lists.
For example,
Admin create content of "Lists" (something like this.../node/add/list), where set up as minimum:
name, title and other common things;
fields of every record in list (like fields in WebForms);
setup hierarchy (how many level deep).
User can manage created list (.../node/???):
add/delete folders (for hierarchy);
add/delete records in folders (or root) fills all fields;
move records betweens folders;
browse list.
P.S. I try to search on drupal.org but word "list" is very "garbage" and I cannot find anything suitable.
Checkout NodeQueue module. This is closest to your description http://drupal.org/project/nodequeue

Add Duration field to sort criteria programatically?

Can someone please tell me how to add duration(CCK field) to sort criteria of views programmatically because it is not listed there by default?
If no handler/field is provided in Views you have to refer to the API and write the views plugins to enable what you want to sort by.
http://views2.logrus.com/doc/html/index.html
http://drupal.org/node/235062

Resources