Item ordering in a category

More
10 years 8 months ago #50013 by chenz2
How would I make it so that creating a new item in a certain category puts it at the top of the list and not at the end, by default? In other words, when I put in a new item into the announcement category, I would like it to go into the 0 position instead of the number 6 position at the end. This way, newer announcements go to the top of the list by default. screencast.com/t/Iz4BCo9eOEJ

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

More
10 years 8 months ago #50014 by ggppdk
Replied by ggppdk on topic Item ordering in a category
Hello

order the category
- by most recently created
- or by item id (HIGHEST First)


-- 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
10 years 8 months ago #50018 by chenz2
Replied by chenz2 on topic Item ordering in a category
Thank you for reply. That doesn't work unfortunately or I would have done that. Main reason is I need the announcement to show up at top of list by default. And THEN, I need them to be able to re-order them if they so choose, from there. Order by item id or by latest will not let the user order them as they wish. So I want ORDERING to be the sort method. I just want it to show the newest items at top of list. Not bottom. For that category only.

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

More
10 years 8 months ago #50057 by micker
Replied by micker on topic Item ordering in a category
me idea .. use module too display your item in top or bottom of your category..

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
10 years 8 months ago #50061 by chenz2
Replied by chenz2 on topic Item ordering in a category
The ordering settings in the module are same as component. I need them ALL to be in a certain order. Not just 1 at the top.

For joomla, it was so simple. I just edited
/public_html/components/com_content/helpers/query.php

case 'order' :
$orderby = 'a.ordering';

to

case 'order' :
$orderby = 'a.ordering DESC';

Any way to do that with your program? Just a really simple edit?

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

More
10 years 8 months ago #50068 by ggppdk
Replied by ggppdk on topic Item ordering in a category
hello

it is
function
_getOrderByClause()

inside file
components/com_flexicontent/classes/flexicontent.helper.php



also for future version, you may submit a new issue for reverse category ordering, here (we moved to GitHub recently, there will be official announcement in this web-site soon):
github.com/FLEXIcontent/flexicontent-cck/issues

i will accept new issue and mark it as enhancement


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