Search found 10 matches

Page 1 of 1

Search found 10 matches

Different URL for language options

Hi ; I have url problem on my multilanguage site. I try explain my problem by example. My store default language english. domain.com/category1/product1 english. domain.com/kategorie1/produkt1 deutsch. domain.com/categorie1/produit1 french I share domain.com/kategorie1/produkt1 on social media, previ...

Jump to post
  • Fri Nov 16, 2018 7:35 pm
  • Replies 0
  • Views 247
Re: Image Manager - Reverse sorting ?

Dear uksitebuilder ; // Get directories $directories = glob($directory . '/' . $filter_name . '*', GLOB_ONLYDIR); if (!$directories) { $directories = array(); } // Get files $files = glob($directory . '/' . $filter_name . '*.{jpg,jpeg,png,gif,JPG,JPEG,PNG,GIF}', GLOB_BRACE); rsort($files); if (!$fil...

Jump to post
  • Tue Oct 13, 2015 5:52 pm
  • Replies 8
  • Views 533
Re: Image Manager - Reverse sorting ?

uksitebuilder ; Thanks for your reply. I try to sort desc all items. My product images in own directory. That directories name same as product code and i give the codes ascending number. When i add new product its directory name last number. Its displaying last. My problem is not about the file time...

Jump to post
  • Mon Oct 12, 2015 11:05 pm
  • Replies 8
  • Views 533
Re: Image Manager - Reverse sorting ?

Not sure if this is what you are after. Attached is vqmod file for displaying images in image mananger (newest uploaded first) I use vqmod , no change. I add codes manually , no change . Opencart ver : 2.0.31 My code ; // Get directories $directories = glob($directory . '/' . $filter_name . '*', GL...

Jump to post
  • Mon Oct 12, 2015 10:30 pm
  • Replies 8
  • Views 533
Re: Image Manager - Reverse sorting ?

Dear viethemes ;

Thanks for reply.

I add this code but still sort by name , ascending order.

It doesn't reverse. :S

Jump to post
  • Mon Oct 12, 2015 4:42 pm
  • Replies 8
  • Views 533
Image Manager - Reverse sorting ?

Hi there ;

How can i reverse sorting in image manager ?

1,5 fix cant work in 2.0 .

Thanks.

Jump to post
  • Wed Oct 07, 2015 3:16 pm
  • Replies 8
  • Views 533
Re: Sort image by date upload in Image Manager

usort($files, create_function('$a,$b', 'return filemtime($b) - filemtime($a);')); Reversed order ... Dear straightlight ; Thanks again, but nothing change. still the files and folders sort by name , sort order asc . You try this code ? is that work ? Whats wrong can you look ? filemanager.php attac...

Jump to post
  • Mon Oct 05, 2015 3:44 pm
  • Replies 15
  • Views 6698
Re: Sort image by date upload in Image Manager

straighlight

thanks for reply but nothing to change. its sort by name asc.

actually i need only sort reverse. if i can sort name desc. i use easyly.

thanks.

Jump to post
  • Sat Oct 03, 2015 4:09 pm
  • Replies 15
  • Views 6698
Re: Sort image by date upload in Image Manager

Dear straightlight ;

I try your fix, but not change order. I add new folders but they are going to last. Not first.

Jump to post
  • Fri Oct 02, 2015 9:46 pm
  • Replies 15
  • Views 6698
Re: Sort image by date upload in Image Manager

Hi ; I have same problem. I have many folders named 1501 , 1502 .... 1550.. I upload new products images on folder and when i add products photo go to last page, select folder.... I want change sort order to desc. If i see last folder in first i add very easy. Straighlight this fix not working in 2....

Jump to post
  • Wed Sep 30, 2015 5:32 pm
  • Replies 15
  • Views 6698

Page 1 of 1

Search found 10 matches