Support Offline: Mon - Fri / 08:00am - 05:00pm (GMT +7)
Your Time: Our Time:

file Changing order in category filter

More
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.

More
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.

More
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.

More
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.

More
4 years 4 months ago #37405 by Björn
Perfect, very good job done.

Thank you very much!

Please Log in or Create an account to join the conversation.

More
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.

Moderators: Jackie
Time to create page: 0.046 seconds
Powered by Kunena Forum