Order relation reverse

More
11 years 11 months ago #38183 by yasarts
J!2.5.11
FC 2.0.3 Beta2 r1686

With a relation-reverse field, I can't ordering items by 'Added - Most recent first' (in backoffice: choose Item ordering (Frontend Views), no effect on frontend). Nothings works except ordering by Alphabetical order.

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

More
11 years 11 months ago #38184 by ggppdk
Replied by ggppdk on topic Order relation reverse
Hello,

you speak of item view, right?

edit plugin files:
plugins/flexi_contentfields/relation/relation.xml
plugins/flexi_contentfields/relation/relation_reverse.xml

and change parameter 'ordeby_frontend' to 'orderby'
[EDITED by ggppdk: above it should 'orderby' and not 'order']

then re-edit the configuration of the fields and save them, and test in frontend item view


-- 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
11 years 11 months ago #38186 by yasarts
Replied by yasarts on topic Order relation reverse
Don't works.
Juste to be sure :
I changed in relation_reverse in line 169 :
Code:
<field name="orderby_frontend" type="list" default="alpha" label="FLEXI_RIFLD_FE_ITEM_ORDERING" description="FLEXI_RIFLD_FE_ITEM_ORDERING_DESC">
to
Code:
<field name="order" type="list" default="alpha" label="FLEXI_RIFLD_FE_ITEM_ORDERING" description="FLEXI_RIFLD_FE_ITEM_ORDERING_DESC">
And the same for relation.xml

I verified in database, no problem ("order":"rdate").

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

More
11 years 11 months ago #38187 by ggppdk
Replied by ggppdk on topic Order relation reverse
Hello,

after making the change, did you edit the configuration of the field? , and saved the configuration of the field, with the new ordering for frontend view (not for item form) and then visited the item view (also clear cache if you have caching enabled)


-- 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
11 years 11 months ago #38189 by yasarts
Replied by yasarts on topic Order relation reverse
Yes I did (edit configuration, saved, clen cache).

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

More
11 years 11 months ago #38190 by ggppdk
Replied by ggppdk on topic Order relation reverse
Hello,

aaah, you should change it to 'orderby' and not to 'order' as i wrongly wrote above

Close field configuration,
and after changing the parameter in the 2 XML files, edit the field , set the desired ordering and save the configuration.


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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.748 seconds
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
Save