Sp Simple Portfolio Ordering Like Date Created - Question | JoomShaper

Sp Simple Portfolio Ordering Like Date Created

A

Alena Merklová

Extension 1 year 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
4 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 year ago #104890

Thanks for your feedback, guys

0
A
Alena Merklová
Accepted Answer
1 year 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
K
kweb
Accepted Answer
1 year 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
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 year ago #103223

Hello Alena Merklová

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

Best regards

0