×
Support Offline :
Mon - Fri / 08:00am - 05:00pm (GMT +7)
Your Time:
Our Time:
Forum
JUX Member Forum - Restricted to Members Only
JUX Images Extensions
JUX Portfolio
Changing order in category filter
Changing order in category filter
Less
More
Posts: 13
Thank you received: 0
4 years 4 months ago #37391
by Björn
Hi there,
Is there a possibility to manage the order from the category filter?
Thanks for the support,
Björn
Please Log in or Create an account to join the conversation.
Less
More
Posts: 289
Thank you received: 11
4 years 4 months ago #37394
by HienHC
Hi Björn
Thank you for contacting and choosing our product
You are using our JUX Portfolio Pro product and you can arrange the filter button according to your wishes, now how you want to arrange it in order, please specify your wishes and them. I will order filter for you
Thanks
The following user(s) said Thank You:
Björn
Please Log in or Create an account to join the conversation.
Less
More
Posts: 13
Thank you received: 0
4 years 4 months ago #37396
by Björn
Good day,
I need to talk to my customer, but I'm sure he want to change the order from time to time and want to add also new categories.
Is there a possibility that the order from the category is according date created?
Thanks,
Björn
Please Log in or Create an account to join the conversation.
Less
More
Posts: 4926
Karma: 49
Thank you received: 334
4 years 4 months ago #37403
by HaiND
Hi
I have custom order category by create time for you
in file: ...\modules\mod_jux_portfolio_pro\helper.php at from line 524 to line 534
public static function getAllCategory() {
$db = JFactory::getDBO();
$query = $db->getQuery(true);
$query->select($db->quoteName(array('title','alias','id')))
->from($db->quoteName('#__categories'))
->where($db->quoteName('extension') . ' = ' . $db->quote('com_jux_portfolio_pro'))
->where($db->quoteName('published') . ' = ' . $db->quote('1'));
$db->setQuery($query);
$category = $db->loadObjectList();
return $category;
}
edit:
public static function getAllCategory() {
$db = JFactory::getDBO();
$query = $db->getQuery(true);
$query->select($db->quoteName(array('title','created_time','alias','id')))
->from('#__categories As a')
->where($db->quoteName('extension') . ' = ' . $db->quote('com_jux_portfolio_pro'))
->where($db->quoteName('published') . ' = ' . $db->quote('1'))
->order('a.created_time ASC');
$db->setQuery($query);
$category = $db->loadObjectList();
return $category;
}
Please check again, hope it will help you satisfied
Thanks
Best Regards
--HaiND--
Please Log in or Create an account to join the conversation.
Less
More
Posts: 13
Thank you received: 0
Less
More
Posts: 4926
Karma: 49
Thank you received: 334
4 years 4 months ago #37407
by HaiND
Hi
If still have problem, please contact us, pleased to assist you
Hope you will continue to use other JoomlaUX products
Thanks
Best Regards
--HaiND--
The following user(s) said Thank You:
Björn
Please Log in or Create an account to join the conversation.
Forum
JUX Member Forum - Restricted to Members Only
JUX Images Extensions
JUX Portfolio
Changing order in category filter
Time to create page: 0.046 seconds