- Posts: 118
COMMUNITY FORUM
Does anyone want ordering of attachments?
- Alan Sparkes
-
Topic Author
- Offline
- Premium Member
Less
More
14 years 10 months ago #84382
by Alan Sparkes
Does anyone want ordering of attachments? was created by Alan Sparkes
I have been using k2 alot recently andrealsied that once more than three attachments get added you soon want to stat controlling the order of themI am working on a temlate solution for sorting thru the array but the database structure does not support ordering. Best a template will give is alphabetical ordering which is no good for documents named by month.......2.3beta doesnt have it either. This is a common feature in the Joomla interface - i guess it might be more work to add specific ordering and require database field addition not to mention some more view manipulation and extra db work...
Please Log in or Create an account to join the conversation.
- Mark Banks
-
- Offline
- Premium Member
Less
More
- Posts: 100
14 years 10 months ago #84383
by Mark Banks
Replied by Mark Banks on topic Does anyone want ordering of attachments?
This is worth doing Alan.
As a side note - there was a good extension that provided back end control of K2 attachments, provided a full listing of all attachments and allowed some control over ordering - aptly named 'attachments manager' plugin - it extended K2 V2 & 2.1 but it was not updated to work beyond that. The original author appears to have dropped out of sight.
I've attached the zip below. Don't install it on 2.2 or above, it doesn't work.
Original thread:
community.getk2.org/forum/topics/attachments-manager?commentId=3536014%3AComment%3A13269
It might provide a start point.
Rgds
Mark
As a side note - there was a good extension that provided back end control of K2 attachments, provided a full listing of all attachments and allowed some control over ordering - aptly named 'attachments manager' plugin - it extended K2 V2 & 2.1 but it was not updated to work beyond that. The original author appears to have dropped out of sight.
I've attached the zip below. Don't install it on 2.2 or above, it doesn't work.
Original thread:
community.getk2.org/forum/topics/attachments-manager?commentId=3536014%3AComment%3A13269
It might provide a start point.
Rgds
Mark
Please Log in or Create an account to join the conversation.
- Alan Sparkes
-
Topic Author
- Offline
- Premium Member
Less
More
- Posts: 118
14 years 10 months ago #84384
by Alan Sparkes
Replied by Alan Sparkes on topic Does anyone want ordering of attachments?
Yes I saw that - thanks Mark
The actual database structure or attachments doesn't support ordering -- there is no field for it. I snuck a look at 2.3 and it hasn't changed either.
I'd love to see a change list for 2.3 and future releases before committing to doing any work on this.
As an interim I have managed to get custom attachment title headings and A-Z / Z-A listings working which I'll post in a blog here - hopefully soon
The actual database structure or attachments doesn't support ordering -- there is no field for it. I snuck a look at 2.3 and it hasn't changed either.
I'd love to see a change list for 2.3 and future releases before committing to doing any work on this.
As an interim I have managed to get custom attachment title headings and A-Z / Z-A listings working which I'll post in a blog here - hopefully soon
Please Log in or Create an account to join the conversation.