Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Ordering parameters for JooDB menu item 7 years 3 months ago #2889

  • rebers.afscmelocal52
  • rebers.afscmelocal52's Avatar Topic Author
  • Offline
  • Posts: 24
  • Karma: 3
  • Thank you received: 7
Since arbitrary ordering continues to be an issue for end users like me (I see other questions about such a feature) I suggest a parameters option field in the menu config that triggers {joodb sortlink}.

My approach is this. I have a column in my JooDB table called:

'Ordering' Type=(set('0','1','2','3','4','5','6','7','8','9'))

Of course, it can be done differently--though this approach is helpful for other users. And you probably see my intent. Things at the top of the list get '0' and things at the bottom get '9'. My lists that need arbitrary ordering are not that long. Then {joodb sortlink} is configured appropriately for the header.

After sorting with the sortlink icon to get the desired ordering, I noticed I can copy the resulting URL. Then I can go back and create a new menu item for an External URL and plug that in. If there was a parameters field for the JooDB menu item, I could add the '?orderby=Ordering&ordering=ASC' and not need to set up a new URL menu item.

Or maybe you have another idea for arbitrary ordering...

Thanks for your continued development of this fantastic Joomla component.

Please Log in or Create an account to join the conversation.

Last edit: by rebers.afscmelocal52.

Ordering parameters for JooDB menu item 7 years 3 months ago #2890

  • rebers.afscmelocal52
  • rebers.afscmelocal52's Avatar Topic Author
  • Offline
  • Posts: 24
  • Karma: 3
  • Thank you received: 7
It does occur to me that the menu configuration could be "aware" of (and provide a pull down menu for) any {joodb sortlink} instances in the catalog view. If selected, this (and a corresponding column with ordering data) might be an elegant solution to the arbitrary ordering issue.

Thanks again.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: Dirkjoest