There are no products in your shopping cart.
Because the Dash Player uses the Views Module to construct its playlist, so many options can be made to control how your playlist is views and filtered to your viewers. Lets suppose that you wish to have a sorting mechanism for your playlist by specifying a weight for each one of your nodes and wish the playlist to show them in that order... Fortunate for you, the Dash Player in conjunction with the Views and CCK modules, this can be done rather easily. So, below are the steps that you need to follow to allow your playlist to be sorted by your command. Pre-requisitesThis tutorial assumes that you already have a view set up to show your nodes... If you have not done this already then I highly suggest going to Setting up a playlist using the Views Module tutorial first. It is also assumed that you already have the Views Module, but there is one more module that you will need for this tutorial, and that is the amazing CCK (Content Construction Kit) Module. This module will allow us to create a special field in your media node type that we will use to sort your content. Once you have this module downloaded and installed, you are ready to move onto the next step. Create a weight field for your node typeThe first step that we will want to do is create a weight field for your node type. You do this by going to Administer >> Content Types and then clicking on your media type that you would like to add the weight too. Once you are there, you will then follow the following steps.
Setting up your view for node weightsThe next and final step is to add this weight field in the Sort Criteria for your view. You do this by going to the view that you set up as your playlist and clicking on the Edit tab. Once you are ar in the edit section of your view, you will want to go down to the bottom where it says Sort Criteria. In the drop-down box, you will then want to select Integer: Weight (field_weight) and then press Add Criteria. And now you are done! You can then go and test this out by editing some of your media nodes and setting the weight value. You should then see them sort in your playlist based on the weight you provided!
|
|||


![Expand cart block. []](/sites/tmtdigital.com/modules/ubercart/uc_cart/images/bullet-arrow-up.gif)