Closed (won't fix)
Project:
Acidfree Albums
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Aug 2007 at 04:23 UTC
Updated:
1 Jan 2011 at 03:12 UTC
Regardless of the values I put in, the weighting of photo albums does not seem take effect.
Comments
Comment #1
pillarsdotnet commentedChanging album weights *does* have an effect, but not the one you expect. It changes the order of the display on taxonomy drop-down lists.
Making it affect the display order of child albums when viewing the parent album is harder than you might think.
I did some code diving and determined that the generated query needs to change from this:
to this:
Problem is, I don't know enough about views and taxonomy to determine the proper way to make the change.
I *think* the relevant function would be acidfree_album_view() in the class_album.inc file.
Either the view contents need to change before the views_build_view() call, or the arguments to that function need to change; I'm not sure which.
I think perhaps a new views handler callback function needs to be created, as well.
As a workaround, you can install the weight module, which works by overloading the "sticky" field of the node table.
Comment #2
mwheinz commentedNo activity in 3 years.