How to get a list of featured items

2 years 1 month ago #74979 by rgu_it_web
Hello,

We would like to get a list of featured items of a particular type programmatically.

We would also like to get a list of items of a particular type sorted by the published date programmatically.

Is there any way to do this ?

We are using Flexicontent 3.2.1.12

Thanks,

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

2 years 1 month ago #74983 by micker
sorry don't understand you have done a custom field ? you want to display in category view or a module ?
regards

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.

2 years 1 month ago #74986 by rgu_it_web
We would like to display this in a category layout. But we are already getting filtered items in the category layout. Additionally we would like to get all the featured items regardless of whether they appear in the filtered list or not.

Thanks.

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

2 years 1 month ago #74989 by ggppdk
Hello

you want to get an array of such items via a function call or via an SQL query
to use them inside custom PHP code of yours ?

or you want to use an items list created by Flexicontent category 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 review. Thanks!

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

2 years 1 month ago #74992 by rgu_it_web
Yes, something like a function call.

Yes. Something like a function to get all the featured items.

Maybe I should explain a bit more.

I have set up a category and filters etc. In the category layout page I am displaying the items resturned by the filters.

Additionally, in the header section of the category layout page I would like to display a combination of featued items and items that are recently published (regardless of whether these items appear in the filterd list or not).

Is there any way to do this?

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

Moderators: vistamediajoomlacornerggppdk
© 2018 Flexicontent. All Rights Reserved.