8 Posts
Hobbes
5 years ago
10
Topic

Hi there,

I have a slight issue in that I would like to use the manual ordering option for articles added to a SEBLOD List & Search page, but find that when doing so, new articles are added first in the list, by default (or position 0).

In my case, this is troublesome because I need at least one article to always appear first new articles to appear last by default - and other users adding new content can be thrown by this.

A little while back, Joomla added an additional option for 'Reverse Ordering' to the article options (this can be seen under CONTENT > ARTICLES > OPTIONS > SHARED > ARTICLE ORDER :: ORDERING REVERSE), which meant that newly added articles would be added last in a list while still respecting the manually specified order. There is mention of this in Joomla's issue tracker back in 2016 over here: https://issues.joomla.org/tracker/joomla-cms/11475

This facility doesn't appear to be present in SEBLOD's List & Search type options ('Use Global' and 'Ordering' are both present, but no 'Reverse Ordering').

Is this something that could be added into SEBLOD at some stage?

Thanks in advance for any consideration, and thanks as always for the terrific software.

Get a Book for SEBLOD
58 Posts
SemaphoreOxalis
5 years ago
1
Level 1

Have you try to add the Article Ordering field in the Order view and play with Direction column ?

8 Posts
Hobbes
4 years ago
0
Level 2

Thanks for this suggestion - I wasn't aware of this as an option.  I have just tried, but find that this doesn't seem to influence the layout of my List & Search type.  That might be due to my using a layout override for my front-end display.

That said, if I WERE to get this working, the only options available for ordering are Ascending, Descending and [Custom] Values - '[Custom] Values' being the only one that might be able to accomplish what I need (though I don't know what syntax I should be using for it - so if anyone knows of documentation for this, it would be much appreciated ...).

1283 Posts
Bucklash
5 years ago
2
Level 1

Do you mean that no matter what ordering you have i.e some_field ASC / DESC , any new articles override this and are first in the list?

58 Posts
SemaphoreOxalis
5 years ago
0
Level 2

Not sure what you mean. You asked for the reverse ordering option because it doens't show in Seblod configuration. I have test and said that you can get this behavior with using the Article Ordering in the order view and there you can select asc/desc.

It seems you have 2 two question in the first post. For getting a specific article always in first position maybe you must use a list module using featured option for example and on top of a list view ?

8 Posts
Hobbes
4 years ago
0
Level 2

Hi there - and please accept my apologies for my extremely slow response.

My larger response below might make more sense of my original question, but to clarify:-

No. The SEBLOD List & Search menu item types do work as intended (from what I've seen) - they just don't have the ordering option I require.  Basically, the Ascending and Descending ordering options are of no use to me because I need to be able to manually order the articles (and Ascending/Descending would essentially override the ability to use a manual order).

What I need is for new articles to appear last in the list by default AND for manual ordering to be allowed.  This is possible when using standard (non-SEBLOD) Joomla Category Blog menu items by setting the ordering to Article Reverse Order (or Reverse Ordering).

This option, as far as I can see, does not currently exist for SEBLOD items.

8 Posts
Hobbes
4 years ago
4
Level 1

Hi again - and please accept my apologies for my extraordinarily slow response.

Let me try to clear up any confusion.

If you simply add a Category Blog item (non-SEBLOD) to a Joomla menu, you can adjust the ordering of the articles by going to MENUS > MENU NAME > MENU ITEM NAME (category blog) > BLOG LAYOUT [tab] > ARTICLE ORDER. As of Joomla 3.9.15, the article ordering options are;

  • Use Global
  • Featured Articles Order
  • Most Recent First
  • Oldest First
  • Title Alphabetical
  • Title Reverse Alphabetical
  • Author Alphabetical
  • Author Reverse Alphabetical
  • Most Hits
  • Least Hits
  • Random Order
  • Article Order
  • Article Reverse Order

These options seem to have been expanded somewhat since my original message, but that's not too important.

If you now look at the ordering options for a SEBLOD List & Search menu item type ...: MENUS > MENU NAME > MENU ITEM NAME (SEBLOD 3.x » List & Search) > OPTIONS [tab] > DEFAULT ORDER ... you'll see the following options;

  • [Basic] Alphabetical
  • [Basic] Most Popular
  • [Basic] Most Recent First
  • [Basic] Oldest First
  • [Basic] Ordering
  • [Advanced] Custom

The option I require in SEBLOD is 'Article Reverse Order', because this allows manual rearrangement of the articles, while also ensuring that any new articles appear last on the page, by default.

So my question quite simply is: would it be possible for 'Article Reverse Order' be added to the available options for SEBLOD List & Search menu item types (though adding as many of the more recently added Joomla ordering options would conceivably be beneficial to anyone, too).

I do see that there is now an '[Advanced] Custom' option - though I'm not sure how to use this, what syntax I should be using and whether or not this is even able to accomplish what I'm describing above. If anyone can point me to some documentation for this option, I'd be most grateful.

I hope that makes a bit more sense, and thanks to anyone giving this any thought.

1283 Posts
Bucklash
4 years ago
3
Level 2

Hi

So what do you want  then? I can’t work it out.

Prob helpful if you demonstrate with a list if hypothetical articles :)

8 Posts
Hobbes
4 years ago
2
Level 3

Hi there.  Thanks for responding.

In the simplest terms I want a way for SEBLOD List & Search menu item pages to display newly-created articles/items LAST on the page by default - while also retaining the ability to manually sort the order of those items after they've been created.

That's it.

There is a sorting type within Joomla that accomplishes the above, but this has not been incorporated into SEBLOD (though some other sorting options have).  There is also a 'Custom' sorting option within SEBLOD, but I don't know how this works or if it can accomplish the above.

1283 Posts
Bucklash
4 years ago
1
Level 4

The custom bit id like this:

some_field_in_search_form DIRECTION

ie:

art_title DESC

.... actually, it might not have to be in search form, worth checking :)

 

In Menu Item, the Default Ordering has option of being “Oldest First” ... that would put most recent last...

8 Posts
Hobbes
4 years ago
0
Level 5

Ah, amazing! Thanks ever so much for taking the time to respond.

That doesn't solve my main conundrum, but that makes good sense and I'm sure will be a useful element to take advantage of in the future. :)

Get a VIP membership