Sorting Existing Images in Image Plugin Field

More
12 years 9 months ago #17253 by gswahhab
We have a lot of photos on our site and wanted to be able to easily find them.

I made a small modification to order them alphabetically.

In file:

plugins/flexicontent_fields/image.php

after line 545
Code:
// eliminate duplicate records in the array $values = array_unique($values);

add in
Code:
sort($values);

Hope that helps someone

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

More
12 years 9 months ago #17263 by ggppdk
Added to my local development copy, will be included into FC next time i commit
Regards


-- 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
12 years 9 months ago #17289 by micker
Thanks for community

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.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.252 seconds
Save
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