I have no idea what version of Drupal I have and I am new to this.
I have a catalog page with items for sale. They are displayed in rows and each row has 3 items across.
I would like to sort the order of these items. The list position doesn't seem to work. I think I have most of them set
at position 0 and it says if they have the same position they will be sorted alphabetically but mine just appear in the order they were uploaded.
Thanks for the help.

Comments

spovlot’s picture

You probably want to use the Views module (http://drupal.org/project/views) to do this. You might already have this module installed. Do you have a store setup like Ubercart or Commerce?

You probably have Drupal 6.x or 7.x since 8.x is not released.

Beth K’s picture

Yes, I have ubercart. How can I tell if I have that module?
Thanks

spovlot’s picture

Ubercart on Drupal 7.x requires the Views module.

You can find the modules installed and their versions under admin/modules
You can find the version of Drupal under admin/reports/status

KD@SVM_NC’s picture

I'm having the same problem. I'll set a certain item to be in position 1, but it shows up in the middle of the product listings. The first item that shows up is set to position 6. I do have the views module installed. The product listings page updates automatically, so it's not a cache problem. After I set list positions for all the items, they did change positions. They are sort of in order. What is the reason for being able to set a position with a negative number? Do these come first or last?

I'm a Drupal newbie, don't assume I know anything.

XandieL’s picture

why dont you use draggableviews for sorting

I like the universe, but she messes with my words
I'm not talking planets or galaxies and the distance just makes it worse.
I know what you're thinking, this probably sounds rehearsed.

KD@SVM_NC’s picture

There you go, assuming I know what you're talking about! (I have no idea.)

After some poking around in Drupal and reading some related posts, I figured out that the list position filter in the ViewsUI module/product page hasn't been added as a sort criteria. Instead of adding it without authorization, we started setting the 'weight' in the weight tab when editing a product page. This works fine, it seems. (Until something blows up?)

I've had almost ZERO training in Drupal, and three weeks experience working on websites. I simply bought a Drupal book and started poking around gingerly. Did I mention that I'm one third of our website development team, and that one guy is soon leaving? Nothing like a challenge to get the juices flowing. Oh, by the way, our new site launches on Memorial Day. 2015. Yeah, life's like that sometimes.

Thanks for responding.