Forum

Please make sure that you have read the documentation and extensive resources provided on this site before posting your question!

Dynamic Content Gallery Resources

DCG Version 4.0 beta is now available for download and testing. This is a development version and not recommended for live sites. Read more here.

Note that the current stable release of the DCG is version 3.3.5.

 
You must be logged in to post Login Register


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 3 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Very frustrating bug. Order of featured content incorrect

fixed
UserPost

9:59 pm
January 20, 2010


remotay

Guest

1

I'm using the 'pageid' method for my featured content images. I'm actually pulling POST IDs rather than pages, but it works either way.

My problem is I Have:

766,1870,6068,115,2574

as my pageID numbers, but the ORDER of the featured content is NOT as I entered them, but rather smallest to largest.

The order is very important to me. How can I address this issue?

11:46 pm
January 20, 2010


Ade

Admin

posts 2384

2

Hi,

Currently, there's nothing that can be done about this due to the way the plugin queries the database.

To address this properly would mean quite a re-write or, perhaps a little tweak to the code. What's the basis of the ordering you're trying to achieve? Date? Page name? Your own custom order unrelated to these?

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

12:00 am
January 21, 2010


remotay

Guest

3

Ade,

Thanks for the quick reply. I'm actually more than willing to pay for any adjustments if necessary. But the ordering i'm trying to achieve is actually quite… quite.. simple.

if I enter

766,1870,6068,115,2574

in the page id area, I'd want the ORDER to be AS I entered it.

Postid 766 first, then 1870, then 6068 then 115, then 2574

This is how featured Content Gallery does it (Old plugin I used to use). I switched over to dynamic content gallery because your plugin loads MUCH MUCH faster. It's better optimized.

Would it really be a big rewrite to achieve this?

I apologize if I sounded frustrated at first. You've done a lot for the wordpress community just by releasing this plugin and keeping it up to date. I do appreciate all the time and energy you've commited to DCG.

12:34 am
January 21, 2010


Ade

Admin

posts 2384

4

Hi,

Yes, you did sound a bit frustrated. Smile

I understand what you want to achieve, I just wanted to understand the basis of the ordering. It appears you are using a custom order which is unrelated to any metadata associated with the Page (eg date, name, etc). Anyway, understood.

Let me have a think and see what can be done without impacting on performance.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

10:08 pm
February 4, 2010


Ade

Admin

posts 2384

5

Implemented in version 3.2.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?