Tuesday, 20 September 2022
  27 Replies
  6.2K Visits
0
Votes
Undo
  Subscribe
Hello!

I start this topic by thanking you for the EL plugin. It is incredibly powerful and flexible.

In the filter I use, I have 3 conditions. By keyword, by price range, by tag. At this moment the filter provides the desired results depending on the condition on which the filtering was used

I want to get the following functionality for the EL filter.

When filtering, the first 4 results should be the articles that have fetured status and the next 6 articles that do not have fetured status.
The filtering results should be similar to the way Google works when we search. The first 4 results are the promoted ones and the following 10 are the organic ones

I understand that this functionality is complex, but I strongly believe that it would be highly appreciated by the community that uses Joomla and EL Plugin.

If this functionality is not in your priorities, please let me know if there is a way to get it.

Thank you, with great respect.
Is this a sorting requests? i.e. you want to show the featured items first or just a few of these?

How would you decide which and how many to display?

I have a few ideas of how this could be achieved but need to understand what you are looking for before considering it in more detail.

Review EasyLayouts. If you use EasyLayouts please post a rating and a review at the Joomla! Extensions Directory.
https://extensions.joomla.org/extension/easylayouts/

2 years ago
·
#3761
Hi, Geraint!

"Is this a sorting requests?"

Sort of.

"you want to show the featured items first or just a few of these?"

I want to show 4 featured items out of a total of 10 items.

"How would you decide which and how many to display?"

In the current filter, searches are done by keywords, Price range article field and tags.
E.g:
If the user is looking for a business from a certain industry (the industries are tags), let's say Food and restaurants, the EL filter should display 10 items of which 4 should be fetured that have that tag (Food and restaurants) and 6 should be from items that ar not featured.
If the search results are on several pages, let's say I have 40 items, then on the next page the first 4 businesses should be items that have fetured status but displayed randomly and the other 6 items that do not have fetured status should be the continuation of the first 6 which are on the first page and so on

The same idea should be used if the user uses price range. This time we do not take into account the industry but only the price.

But if the user uses industry (tags) and price range (Article List Field), the sorting should be done according to both criteria. If the items that have fetured status and respect these criteria are not more than 4, then display any other item that respects one of the two criteria or neither

This is the link of the site where we want to have such a filter
There may be a way to do this (not coded yet).

1. In the menu item you would configure an exclusive filter based on one or more criteria e.g. 'featured' status or the value of a custom field and a number of 'highlighted' items to show
2. When the menu is then viewed we would fetch 2 lots of data and display them in 2 blocks one after the other.
3. Sorting of these items within the 2 groups would be based on the menu item criteria??

As you go through the list (pagination) If you run out of 'highlighted' items - would you want to repeat the list of highlighted items?

I wonder if you'd actually want to present the 2 sets of data slightly differently ??

Your example URL has '3 lead items' then '6 intro items' so one way of doing this would be to populate the 'lead items' with the highlighted items and the 'intro items' with the non-highlighted items.

Review EasyLayouts. If you use EasyLayouts please post a rating and a review at the Joomla! Extensions Directory.
https://extensions.joomla.org/extension/easylayouts/

2 years ago
·
#3778
Hi, Geraint!

" 1. In the menu item you would configure an exclusive filter based on one or more criteria e.g. 'featured' status or the value of a custom field and a number of 'highlighted' items to show "
For this step, I can only configure the filter based on the custom field. I don't have the option to choose the items with fetured status. I think I didn't understand very well what I have to do or where I have to do it.
I tried to set a filter based on a custom field for the purpose of testing and I get the following error -
An error has occurred.
0 Joomla\CMS\Form\Form::getInstance(com_menus.item, *string*)

The answer to the other questions
" As you go through the list (pagination) If you run out of 'highlighted' items - would you want to repeat the list of highlighted items? "
Yes
" I wonder if you'd actually want to present the 2 sets of data slightly differently ?? "
I created two layouts with the help of Easy Layouts, one for the items that are displayed as lead items and one for the items that are displayed as ordinary items. The difference between lead articles and ordinary articles is design and ordinary items have a description that is missing from lead items

" Your example URL has '3 lead items' then '6 intro items' so one way of doing this would be to populate the 'lead items' with the highlighted items and the 'intro items' with the non-highlighted items. "
Here it is not clear to me what I have to do or how I have to do it
Sorry I didn't make it very clear- I was thinking aloud of how I might code this up to work and was wondering what you thought of how it would be implemented.

I think I understand what you are trying to achieve - I need to consider how much work is involved in implementing this and how much demand there may be. I suspect its quite a specialised requirement with limited appeal to other users :(

Review EasyLayouts. If you use EasyLayouts please post a rating and a review at the Joomla! Extensions Directory.
https://extensions.joomla.org/extension/easylayouts/

2 years ago
·
#3782
Hello!

Now I understand.

If this request generates additional costs, please let me know. I am willing to bear the costs and recommend that this specification of ours be included in the total package of specifications that EL offers
I'll take a closer look today at what it will entail and get back to you.

Review EasyLayouts. If you use EasyLayouts please post a rating and a review at the Joomla! Extensions Directory.
https://extensions.joomla.org/extension/easylayouts/

2 years ago
·
#3794
Hi Geraint!

Did you manage to analyze my request? I want to implement this solution in the near future.
Sorry got snowed under yesterday - looking into it now

Review EasyLayouts. If you use EasyLayouts please post a rating and a review at the Joomla! Extensions Directory.
https://extensions.joomla.org/extension/easylayouts/

I'm wondering if there is a better and easier way to achieve what you want.

If you used a articles category module to display your "featured" items and we integrated the output of the module into the main component area then you could set up a rule for the which items to display in the module and a separate rule for the component but the output would appear 'merged'.

Review EasyLayouts. If you use EasyLayouts please post a rating and a review at the Joomla! Extensions Directory.
https://extensions.joomla.org/extension/easylayouts/

2 years ago
·
#3800
Hello!

Your idea is wonderful and works perfectly.

I managed to create the module and display it in the category I want. Now I try to change its layout with the help of EL, but the way it is displayed does not change.

I did the following operations.

I created a module - Articles - Category
I created a layout in EL - Articles by Category (Module) : Article
I tried to select the module created to modify the layout. After I save the module, it does not remain selected and no changes are made.

I wonder if I am doing something wrong
2 years ago
·
#3804
Please help me to fix this bug
Looking into it now.

Review EasyLayouts. If you use EasyLayouts please post a rating and a review at the Joomla! Extensions Directory.
https://extensions.joomla.org/extension/easylayouts/

This was a bootstrap 5/Joomla 4 issue - we had a missing layout file. It was fixed last week in the 1.4.3 development code.

I will release v1.4.3 in a few minutes which should resolve this issue

Review EasyLayouts. If you use EasyLayouts please post a rating and a review at the Joomla! Extensions Directory.
https://extensions.joomla.org/extension/easylayouts/

2 years ago
·
#3810
Hello!

I installed the new version of EL but I have the same problem. I think that maybe I am not doing something right.

I created the module - Articles - Category [mod_articles_category]
I created EL layout - Articles by Category (Module) : Article
Regardless of the changes I make in EL, they do not change the way the Module is displayed

Please help me to solve this problem
You had not created the module layout itself but it still doesn't work when I set this up.

Is it possible for me to get temporary FTP details so I can check if its working as it should.

The way the module works is to intercept the call to the article category module and send it to the mod_easylayouts module instead and to create a customised version of the module files within the mod_easylayouts folder. If I can see the file system I can see where this is failing

Review EasyLayouts. If you use EasyLayouts please post a rating and a review at the Joomla! Extensions Directory.
https://extensions.joomla.org/extension/easylayouts/

2 years ago
·
#3812
Hello!

Please forgive my insistence, but unfortunately the time is very short to complete the project.

Please help me
You had not created the module layout itself but it still doesn't work when I set this up.

Is it possible for me to get temporary FTP details so I can check if its working as it should.

The way the module works is to intercept the call to the article category module and send it to the mod_easylayouts module instead and to create a customised version of the module files within the mod_easylayouts folder. If I can see the file system I can see where this is failing


Review EasyLayouts. If you use EasyLayouts please post a rating and a review at the Joomla! Extensions Directory.
https://extensions.joomla.org/extension/easylayouts/

2 years ago
·
#3816
FTP Account
working now - You need the overall module layout enabled otherwise the individual content items can't be rendered by EasyLayouts.

I'm checking where there is an icon print_popup warning message now

Review EasyLayouts. If you use EasyLayouts please post a rating and a review at the Joomla! Extensions Directory.
https://extensions.joomla.org/extension/easylayouts/

  • Page :
  • 1
  • 2
There are no replies made for this post yet.