1. Nicolas OLIVIER
  2. Sherlock Holmes The Voice
  3. Feature Requests
  4. Thursday, 30 November 2017
  5.  Subscribe via email
One of our reccurent issue with the new J3.7 custom fields is the possibility to order a category view (list, blog etc) by a custom fields. For example if we create a custom fields for a price we want 2 things :

  1. To be able to order by this price fields from the menu link
  2. To have a module (like the filter module) for adding for the visitors the possibility to order by customs fields like an e-commerce website.


By the way thanks for your great work on the new component !
Accepted Answer
Accepted Answer Pending Moderation
Yeah it seems OK : I go testing this changed file on our real project website
Do you know why I have the "No suitable custom fields" in custom fields widget in blog:article layout on this dev website ?

thanks for highlighting this - in this new development version I have added support for editing com_contact form layouts and this introduced this problem.

If you replace the file administrator/models/fields/elscustomfield.php with this file it will resolve the problem
Attachments (1)
Review EasyLayouts. If you use EasyLayouts please post a rating and a review at the Joomla! Extensions Directory.
https://extensions.joomla.org/extension/easylayouts/
  1. more than a month ago
  2. Feature Requests
  3. # Permalink
Accepted Answer Pending Moderation
This should be possible to implement but there are complications:
1. List fields would be ordered by the value of the options not the displayed text
2. Multi-select fields would give meaningless results
3. There would be a slight performance hit.

Another place it could be used is in the category list view where you could sort by clicking the column headings.

I'll look into it - but its likely to be a few weeks before its available.
Review EasyLayouts. If you use EasyLayouts please post a rating and a review at the Joomla! Extensions Directory.
https://extensions.joomla.org/extension/easylayouts/
  1. more than a month ago
  2. Feature Requests
  3. # 1
Accepted Answer Pending Moderation
I think it could be limit to certain type of custom fields in the first place like text fields maybe checkbox (fields is check or not)
And yes of course the performance have to be considered.
  1. more than a month ago
  2. Feature Requests
  3. # 2
Accepted Answer Pending Moderation
It couldn't be a checkbox with multiple options - i.e. a field with more than one checkbox since there would be more than one value stored in the same field.

I've added it to the TODO list - hopefully for version 1.1.0
Review EasyLayouts. If you use EasyLayouts please post a rating and a review at the Joomla! Extensions Directory.
https://extensions.joomla.org/extension/easylayouts/
  1. more than a month ago
  2. Feature Requests
  3. # 3
Accepted Answer Pending Moderation
Hi, happy new year !
Any news about this because we have a loooot of project whch need this possibility ;)

Thanks
  1. more than a month ago
  2. Feature Requests
  3. # 4
Accepted Answer Pending Moderation
I had been struggling to find a mechanism to do this but have now got it working for the core fields - next step is to configure the menu item, pass the parameters through and do the extra database join.

I'm going to start with a single ordering option i.e. just by one column/custom field and not with a secondary choices (I'll use the Joomla default sorting options here instead).

I hope to have something for you to play with in the next couple of days
Review EasyLayouts. If you use EasyLayouts please post a rating and a review at the Joomla! Extensions Directory.
https://extensions.joomla.org/extension/easylayouts/
  1. more than a month ago
  2. Feature Requests
  3. # 5
Accepted Answer Pending Moderation
Yessss ! We can't wait to see this ! And yes we understand the difficulty to create this after having make a little exploration of all of this.
  1. more than a month ago
  2. Feature Requests
  3. # 6
Accepted Answer Pending Moderation
I have something for you to experiment with - I'll update the development build for you to try at https://www.easylayouts.net/support/discussions/latest-build-of-easylayouts

At present it allows you to sort articles in featured view, category blog and category list views. If it does what you need then I can look at extending this to modules too.
Review EasyLayouts. If you use EasyLayouts please post a rating and a review at the Joomla! Extensions Directory.
https://extensions.joomla.org/extension/easylayouts/
  1. more than a month ago
  2. Feature Requests
  3. # 7
Accepted Answer Pending Moderation
We have try and.... Now in menu linik edition in back office we just have Details and Custom fields Condition fields tabs with Js error : "ReferenceError: setCustomfieldChoice is not defined" and the ordering don't work. Tested on 3 websites (2 dev and 1 very fresh)
  1. more than a month ago
  2. Feature Requests
  3. # 8
Accepted Answer Pending Moderation
That's interesting - the function should be available.

Can you try unzipping and uploading this file to administrator/components/com_easylayouts/models/fields/elscustomfieldformeunitemconstraint.php - does that resolve the issue?
Attachments (1)
Review EasyLayouts. If you use EasyLayouts please post a rating and a review at the Joomla! Extensions Directory.
https://extensions.joomla.org/extension/easylayouts/
  1. more than a month ago
  2. Feature Requests
  3. # 9
Accepted Answer Pending Moderation
Ok we get the "full" backoffice menu screen but the ordering still don't work :-/
  1. more than a month ago
  2. Feature Requests
  3. # 10
Accepted Answer Pending Moderation
Can you give me access to the dev site so I can check the queries it uses. It works fine on my development servers
Review EasyLayouts. If you use EasyLayouts please post a rating and a review at the Joomla! Extensions Directory.
https://extensions.joomla.org/extension/easylayouts/
  1. more than a month ago
  2. Feature Requests
  3. # 11
Accepted Answer Pending Moderation
I give you acces to a fresh Joomla but we have a real project bugged too but we will see aftrer because we have done a lot of other things on it and it don't work as well on this fresh

  • Blog articles
  • Add a date fields in group and applicates to the category (check if show on blog view) and add a custom date to the articles
  • add Easylaout and create Blog and blog:article view > the custom field is not reachable related to the ordring mis-function, I suspect this of course
  • Modified the home view as a blog view and override the ordering


Where Does I make an mistake?
  1. more than a month ago
  2. Feature Requests
  3. # 12
Accepted Answer Pending Moderation
Here the other website access in real condition.
  1. more than a month ago
  2. Feature Requests
  3. # 13
Accepted Answer Pending Moderation
I've looked at the dev site and installed eXtplorer so I could add comments in the code.

I found the issue - I had assumed (incorrectly) that there would be filtering involved if the page was ordered so without it the re-ordering was ignored. It works ok on the dev server now (the file I changed was plugins/system/easylayouts/easylayouts.php)

Can you check your issues are resolved by that change? Thanks
Review EasyLayouts. If you use EasyLayouts please post a rating and a review at the Joomla! Extensions Directory.
https://extensions.joomla.org/extension/easylayouts/
  1. more than a month ago
  2. Feature Requests
  3. # 14
Accepted Answer Pending Moderation
Yeah it seems OK : I go testing this changed file on our real project website
Do you know why I have the "No suitable custom fields" in custom fields widget in blog:article layout on this dev website ?
  1. more than a month ago
  2. Feature Requests
  3. # 15
Accepted Answer Pending Moderation
On our real project :

  • Ordering is OKay
  • We have definetly lost the custom fields on category intro article


So I'm not sure what I prefer : custom fields showing or ordering :D
  1. more than a month ago
  2. Feature Requests
  3. # 16
Accepted Answer Pending Moderation
It seems OK ! I have other issue I'll post in issue section ;-)
  1. more than a month ago
  2. Feature Requests
  3. # 17
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Demo Site

You can access our demo at https://demo.easylayouts.net.

You can easily switch EasyLayouts off and on again via a special module on the demo site and can also access the backend to experiment with the layouts. The demo resets every hour so bear in mind that the demo looks a bit odd that someone else may have changed the layouts before you viewed the page.

Keep up to date

Keep up to date with news about EasyLayouts