Custom Order not working

More
6 years 8 months ago #68627 by ggppdk
Replied by ggppdk on topic Custom Order not working
Hello

please note that frontend order selector will override the "default" ordering

you can send me a PM with access to it
and i will look at it


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
6 years 8 months ago #68628 by ggppdk
Replied by ggppdk on topic Custom Order not working
Hello

ok i see your PM


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
6 years 8 months ago #68629 by ggppdk
Replied by ggppdk on topic Custom Order not working
But you have not sent me super user access to the website


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
6 years 8 months ago #68630 by ggppdk
Replied by ggppdk on topic Custom Order not working
Hello

probably the issue is not the frontend selector
- just the frontend selector will display the default configure ordering

i need backend super user access because i will edit PHP files on the disk to find why this is happening


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
6 years 8 months ago - 6 years 8 months ago #68631 by ggppdk
Replied by ggppdk on topic Custom Order not working
Hello

2 things

- your testing website had 3.3.0-dev, (so custom field order could have being bogus, because we fixed an issue with it)
i installed v3.2.0-RC2c

- your testing website had the "CUSTOM field ordering" 'Enable' to OFF
i enabled it

so it is working now


Finally it is good to add in the frontend selector override your custom order so that it can be displayed and selected automatically

i am not sure if you had done the above because site is in chinese


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 6 years 8 months ago by ggppdk.

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

More
6 years 8 months ago #68632 by lomuyeh
Replied by lomuyeh on topic Custom Order not working
Hi
I still got the problem about custom order in Frontend Overrides.
Because I remember it works in 3.1, so I try to find out what's the difference:

In 3.2:
file: db.php
static function buildItemOrderBy
// 2. If allowing user ordering override, then get ordering from HTTP request variable
$request_order = $app->input->get($request_var.$sfx, '', 'cmd');
$order = $params->get('orderby_override') && $request_order ? $request_order : $order;

$order shows 'custom25intdesc'
The SQL shows 'ORDER BY i.title ASC, i.title ASC'

In 3.1:
file: flexicontent.helper.php
static function buildItemOrderBy
// 2. If allowing user ordering override, then get ordering from HTTP request variable
$order = $params->get('orderby_override') && ($request_order = JRequest::getVar($request_var.$sfx)) ? $request_order : $order;

$order shows 'custom:25:int:desc'
The SQL shows 'ORDER BY f.value_integer DESC, i.title ASC'

This is the difference I found. Seems no ':' in 3.2. Maybe it helps.

Thanks,
Lomu

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.569 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline