How to Use:

Write the previously determined tag and attribute names into the appropriate fields on the settings page (use jQuery-selector like syntax)

<div class="views-row views-row-1 views-row-odd views-row-first">
    <article class="node page published promoted not-sticky teaser self-posted author-odd clearfix" id="node-page-13" typeof="foaf:Document" about="/node/13">
     ...
   </article> 
</div>

I am completly confused by the above statements. I've tried everything possible, and nothing with the 2 values in settings changes any of the behavior (they just slide into each other and don't re-order and most of the effects don't work at all or do the same thing).

Do I need to enter that PHP code somewhere?

Here is my site.... what am I doing wrong? I am currently trying to use the "cover" field and the "img" tag since each episode will have a unique file name for the cover image.

http://betterthanyour.tv/?q=shows/1&sort_by=field_epnum_value&sort_order...

Comments

strager-1’s picture

Issue summary: View changes

changed code field to quote field

leschekfm’s picture

In the above html, your tag would be 'article' and your ID could be 'id' or 'about'.

Have you used the views_quicksand_test feature to see a working demo and play around with?

strager-1’s picture

But WHERE do I put the html/php code? - Yes i've looked at the demo. I've tried to replicate it in my view, and I can't find anywhere where HTML or PHP code is placed. I've gone through every inch of it. Do I need to edit a file somewhere?

leschekfm’s picture

On the right side of the format setting of your view (which you probably have set to quicksand) is a link 'settings'.

In this dialog you have fields called 'ID Element' and 'ID Attribute'. Your element would be article and your attribute is about.

Other than this there is nothing more to do, or to insert any code.

strager-1’s picture

OK... I've seen those values... now in the example you use "article" and "about" for the values. Where are you getting that from? I see it in the PHP (your example), but where do I find MY copy of that PHP line?

leschekfm’s picture

Ah sorry, I had thought the html snippet you posted was from your site, but now I recognized that this was from my own example :D

I now had a look at your site. If you look at the HTML your view is outputting you can see that the only thing it prints is a link. So your 'ID Element' should be 'a'. As each link points to a different node your 'ID Attribute' should be 'href'.

strager-1’s picture

Perfect.... at least it's sorting properly now :) Thanks so much for that clarification - the code really threw me off.

Next question.... Why do all of the effects under settings do the same thing? I've tried bounceslide, swing, and a bunch of others and they all just kinda slide the graphic over with none of the pizaz of the demo site... Also, is there anywhere we can see how they are supposed to work?

leschekfm’s picture

Those are easing effects, if you don't choose the right ones you will hardly notice any difference.
Have a look at http://jqueryui.com/demos/effect/#easing

strager-1’s picture

OK.... but mine aren't doing any of those...... they just slide and switch places..... no bounce if I set it to bounce, no swing if I set it to Swing...... just swap..... have a look at my link again and you'll see what I mean - its set to ease-bounce right now.

leschekfm’s picture

Ok, I noticed a bug in the latest dev version. When I made the module use the core easing library I didn't notice that the options provided by quicksand didn't exactly match the ones of the core easing library. So just some effects did work. Now the options are generated by jquery itself so every option should work.

Please get the latest dev version and test if everything is ok now.

leschekfm’s picture

Status: Active » Fixed

As there are no new complaints I think this bug is fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

small change