I'm trying to sort my photos by post date.
Changing the view, image_gallery, sort criteria to "Node: Post date desc" or "Node: Post date asc" has no effect.
The default sort criteria have been deleted and the above is the only one there.
--Rich
I'm trying to sort my photos by post date.
Changing the view, image_gallery, sort criteria to "Node: Post date desc" or "Node: Post date asc" has no effect.
The default sort criteria have been deleted and the above is the only one there.
--Rich
Comments
Comment #1
joachim commentedAre you sure you're using Views to make your galleries and not the old built-in system?
Comment #2
Rich - PDX commentedYes I'm definitely using views.
The Admin > Image Gallery page displays, "Image galleries are being made with the Views module" etc
In the views module I have "Node view: image_gallery (image_gallery)" and "Term view: image_gallery_terms (image_gallery) "
Thanks
Comment #3
joachim commentedIf you've changed the path of your view, it's possible that what you're seeing is the old hardcoded galleries. Check that the output you are seeing really is a view.
Comment #4
Rich - PDX commentedOK I did change the path of the view. It was "image" and I changed it to "galleries". Can you give me a pointer for where to look to make changes if I really want the path to be "galleries"?
Thanks
Comment #5
joachim commentedDid you check what you are seeing is actually a view?
Comment #6
Rich - PDX commentedI did not check to see if it is actually a view. I'm not sure how to do that. Can you give me a pointer?
Comment #7
joachim commentedLook at the source and check the classes!!!
Comment #8
Rich - PDX commentedSorry for being slow on the uptake . . .
There are views classes on the top page that lists the galleries, but the galleries themselves have no views classes.
Comment #9
joachim commentedRight. In which case, the links to galleries in the view are being made back to 'image/tid/XX' and then you're out of Views again. You need to hack those links.
Comment #10
Rich - PDX commentedOK Thanks for your time.
Comment #11
rolando.isidoro commentedHey Joachim,
I'm having the same problem as Richard described. I too am working with Views, so I have the "To change the way galleries are displayed, edit the image_gallery view on the Views administration page." message in the admin/settings/image/image_gallery settings page.
Changing any parameters in the image_gallery view doesn't produce any results in the way the photos are being shown in the website. You can take a look at the following examples to better see the issue:
I've changed the path of the view from image to galerias, but if you access it via the default URL it shows the same.
Let me know if you need any additional info to debug this and hopefully solve it. You can probably find me around the #drupal channel in IRC during weeks days if you want do discuss any details.
Thanks in advance,
Rolando
Comment #12
joachim commentedYour problem is going to be somewhere in the menu system that is causing the oldskool page callbacks to react in preference to Views. It's something you'll need to go in and debug I'm afraid.
Comment #13
rolando.isidoro commentedI followed another path, since debugging through a few thousands of lines in the source code seemed to be an Herculean task after just a few minutes into it.
Looking into the module's source code I learnt how to enable the standard non-views form in /admin/settings/image/image_gallery, so all I did was:
Btw, I noticed that choosing the File name Image Display Sort Order criteria results in no images showing up in the gallery thumbnails page.
This is just a workaround solution, even though it doesn't solve the Image Gallery Views sorting problem I hope it can help anyone else experiencing this issue.
Rolando