Good day all...

I'm working w/ the new Views layout for Drupal 7 and have a couple questions:

  1. How to i set the number of items to display as unlimited? It used to be that you could...either leave the field blank or set it as 0, if I remember correctly? Setting it as 0 now results in a, "...must be a positive integer" error.
  2. How do I change the sort order of my fields? No longer seeing an option for this.

Thanks much,
~dale

Comments

dalegrebey’s picture

How to remove or place Operators correctly?

Essentially, what I want to do is:

Is Published (Yes)
AND Content Type (= Event)
AND Fields: Slideshow (= Yes)
OR Content Type = (Article)
AND Fields: Slideshow (= Yes)

mcfilms’s picture

If it were me I would set two filers: Published (Yes) and Content Type (check Event and Article). Then for the Slideshow field there should be an option to NOT display anything if the field isn't present. I'd use that.

I would try setting my items to display to blank. If that didn't produce unlimited results, I'd use 999 or some other high number. Sort is still in Views 3. It is just that the layout has changed a great deal.

A list of some of the Drupal sites I have designed and/or developed can be viewed at motioncity.com

dalegrebey’s picture

That's more or less the approach I ended up taking. What I forgot/failed to realize is that if you use an existing field, views understands it for both content types which allowed me to get rid of any of the operators.

My filter for slideshow is actually "YES" if checked then display it.

onkiro’s picture

"How do I change the sort order of my fields? No longer seeing an option for this."

there is a button called "add" right beside the fields in the Display overview.
klick on the down arrow and choose "rearrange".