Sp Simple Portfolio Ordering Like Date Created - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Sp Simple Portfolio Ordering Like Date Created

A

Alena Merklová

Extension 2 years ago

Great extension, but it has its flies. The biggest one is that I can't sort portfolio items by creation date. I'm not a programmer but I tried to modify it and it works so far. So a guide for others….

/components/com_spsimpleportfolio/models/items.php

find on line line 74

list($order, $direction) = explode(':', $params->get('ordering', 'ordering:ASC'));

replace

list($order, $direction) = explode(':', $params->get('created', 'created:DESC'));

This will cause the most recent items to be on top.

Please consider checking and adding this option in the next update.

0
8 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #103223

Hello Alena Merklová

Thanks for your feedback and sharing the fix. We will try to implement it.

Best regards

0
K
kweb
Accepted Answer
2 years ago #103224

Defenetly agree - SP Portfolio could be much much better with simple little fixes. One of them is individual sorting but also the performance when having a lot of items....

0
A
Alena Merklová
Accepted Answer
2 years ago #103226

SEO SEO SEO is needed now :) I am currently solving a problem with the title of the page... https://www.joomshaper.com/forum/question/21857

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #104890

Thanks for your feedback, guys

0
Peter Spiegelenburg
Peter Spiegelenburg
Accepted Answer
1 month ago #207838

@Alena Merklová, works perfect! Thanks for the tip.

@Ofi Khan, still not implemented in the component?

Regards., Peter

0
Josef Rosner
Josef Rosner
Accepted Answer
1 month ago #207854

Hello,

however, for me the text within the SP Simple Portfolio item is not indexed in Smart Search, only the title, or does that work for you?

regards Josef

0
Peter Spiegelenburg
Peter Spiegelenburg
Accepted Answer
1 month ago #207934

Hi,

no, the text it not being indexed. Doesn't work here. For me it is not so much important, but it would be a nice extra feature when added.

@Joomshaperteam, is it possible to add these two features?

  1. Sort by date, of by ID, or by...
  2. Smart search also searches the Discription form the portfolio items.

Regards, Peter

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 month ago #208061

Hello friends,

Thanks for your reminder.

I have asked the developer team to work on these issues. Hopefully, we will get a fixed version with Joomla 6 and PHP 8.4 support very soon.

Best regards

0