Jump to Content
LocomotiveCMSGuidesDiscussionSupport us!v2
GuidesBlogDiscussions
GuidesDiscussionSupport us!v2Log InLocomotiveCMS
Discussions
Log In
All
Pages
Start typing to search…

Discussions

Ask a Question

Order many_to_many relations

Hello, I have two models with a many_to_many relation. I want to display these models on a page in the same order as I set in back-office, but instead they are ordered based on the setting in my model definition file. Is there any way to control the display order in the Liquid template?

many_to_manyorder_bycontent_type
Posted by Igor over 2 years ago
  • Recent
  • Unanswered
301301_redirectactionsapiassetsback officebelongs_toblockscallapicanconical urlcartchildrenclonecoalconfigcontent_assetscontent_entrycontent_typecontent_type_templatecontent_typesdatedeletedeploydocumentationdownloaddropsecommerceeditable_elementeditorenginefile structurefolder structurefoldersga4gallerygemgoogle_analyticshandlehostinghtmlhtml_attributesidintegrationjsonlayoutslinklink_toliquidlistedmany_to_manymetafieldsnavnestingnilnilclassofflineopen graphorder_bypagepagespaginationpath_topdfpublic_submissionpublishreadmerubyschedulesectionsselectsite_metricssitemapsolidusspamsteamsynctext_formattingtheme_assetsto_symurlurl_redirectwagonwith_scopewysiwygyaml