WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.12.x) »
  • Modules »
  • OFA - different pages, different sortings
  • Print
Pages: [1]   Go Down

Author Topic: OFA - different pages, different sortings  (Read 4462 times)

Offline dbs

  • Betatester
  • **
  • Posts: 8914
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
OFA - different pages, different sortings
« on: September 22, 2019, 04:38:26 PM »
I use the module on different pages. You can move items from one page to the other. However, I would need different sorts on these pages (backend and frontend the same).

At the moment you can only specify the order (descending, ascending) of the position for all pages via config.php.
In modify.php and view_overview.php you could sort by something else instead of position. But again only the same for all.

A selection in the page settings would be helpful.
Has anyone done this before?

Translated with www.DeepL.com/Translator
Logged
https://onkel-franky.de

Offline astricia

  • Posts: 783
  • Gender: Female
    • netSchmiede24
Re: OFA - different pages, different sortings
« Reply #1 on: September 24, 2019, 09:12:39 AM »
In this case I usually have the OFA module itself on a hidden page and use the anyitems or topitems snippets to sort and display them anywhere on the frontend...

Hope that helps!
Astrid
Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8914
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: OFA - different pages, different sortings
« Reply #2 on: September 24, 2019, 11:26:18 AM »
Right, that would be an option. Thanks for the input.

But here you need for every page a own or renamed ofa_anyitems, because in the include.php is the sort order (switch).

I have played with the settings in OFA and add a new field for sorting. This is the rule only for that section. I think this is best way.
Logged
https://onkel-franky.de

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.12.x) »
  • Modules »
  • OFA - different pages, different sortings
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2