28 | 03 | 2024
Main menu
Login/Logout
 
Contacts
Реклама
Our button

Блог Ecolora

Код:

<a href="http://www.ecolora.com" target="_blank" rel="nothing" title="Ecolora.com"><img alt="Ecolora.com" height="31" src="http://www.ecolora.com/images/ecoloracom.gif" width="88" /></a>
Who's online

We have 30 guests and no members online

Лента новостей

Newsletter
Welcome, Guest
Username: Password: Remember me
Component and plugin for musical sites / Компонент для музыкальных сайтов и улучшенная версия плагина MP3 Browser
  • Page:
  • 1
  • 2

TOPIC: COMMEDIA sorts differently than MP3Browser used to

COMMEDIA sorts differently than MP3Browser used to 11 years 1 month ago #6623

  • admin
  • admin's Avatar
  • Offline
  • Администратор
  • Posts: 465
  • Thank you received: 40
  • Karma: 19
dagnome wrote:
I think we're getting lost in translation a bit.
Is there a setting in the PLUGIN defaults that sets FILENAME as te default sort character?

No, there isn't option for sorting order in Commedia content plugin settings.

But You can open plugins/content/commedia/commedia.php file and change there:
$pieces1 = array('rating','down','album','artist','title','name','date','track','genre');

to
$pieces1 = array('name','rating','down','album','artist','title','date','track','genre');
Last Edit: 11 years 2 days ago by admin.
The administrator has disabled public write access.

COMMEDIA sorts differently than MP3Browser used to 11 years 1 month ago #6624

  • dagnome
  • dagnome's Avatar
  • Offline
  • Новый участник
  • Posts: 8
  • Thank you received: 1
  • Karma: 0
I can make that change - what will it do Anton?
The administrator has disabled public write access.

COMMEDIA sorts differently than MP3Browser used to 11 years 1 month ago #6625

  • admin
  • admin's Avatar
  • Offline
  • Администратор
  • Posts: 465
  • Thank you received: 40
  • Karma: 19
It will change the default sort order.
The administrator has disabled public write access.

COMMEDIA sorts differently than MP3Browser used to 11 years 1 month ago #6626

  • dagnome
  • dagnome's Avatar
  • Offline
  • Новый участник
  • Posts: 8
  • Thank you received: 1
  • Karma: 0
Good to know - thanks -
I've already edited the article text to use the sort=name function,
so will leave things as=is since it's working fine ;-)
But thank you for this information -

And oh by the way
I think you might want the button editor to say "Use Default" not "By Default", (in English)
the phrase "By Default" can be confusing, as it's not clear if you are meaning this action will SET a default or use the plugin default.
"Use Default" is quite specific. Use the default value set in the plugin parameters.

Just my 2 cents worth ;-)

again - thank you for a very nice plugin ;-)
The administrator has disabled public write access.
The following user(s) said Thank You: admin

COMMEDIA sorts differently than MP3Browser used to 11 years 1 month ago #6627

  • admin
  • admin's Avatar
  • Offline
  • Администратор
  • Posts: 465
  • Thank you received: 40
  • Karma: 19
Thank You for Your advise too.

Now i changed "By default" on "Use default" in english language files.
The administrator has disabled public write access.

COMMEDIA sorts differently than MP3Browser used to 10 years 11 months ago #6696

  • admin
  • admin's Avatar
  • Offline
  • Администратор
  • Posts: 465
  • Thank you received: 40
  • Karma: 19
Stephen Jones asked me:
Hi Thanks for letting me know about MP3 Browser. I was using it on my joomla 1.5 site and I didn’t know version £.0 was available. The only thing is I’ve got it set to Sort order – Desending but on the webpage its not in order it jumps about a bit.
I don’t know if you have an answer? The webpage is www.hopechurchcrewe.com/3newjoomla/index.php/sermons

My answer is:

If we'll check the links to files on you site, they will be (beginning from www.hopechurchcrewe.com):
  • 3newjoomla/images/audio/archive/2010-08-22_HopeChurchCrewe.mp3
  • 3newjoomla/images/audio/archive/2010-08-15_HopeChurchCrewe.mp3
  • ...
  • 3newjoomla/images/audio/2013-03-24_hopechurchcrewe.mp3
  • 3newjoomla/images/audio/2013-03-17_hopechurchcrewe.mp3
  • ...
  • 3newjoomla/images/audio/12-08-05_hopechurchcrewe.mp3

  • So You have two folders: images/audio and images/audio/archive in it.

    The mp3browser store full path to file ($subdir.$file) when he scans the folders:
    array_push($narray, urldecode(str_replace('\\','/',$subdir.$file)));

    So the ordering is right.

    You could disable "include subfolders" option in mp3browser and show Your subfolder archive anything else on another page.

    Or use Commedia please. It store only filename in main array during it searching files in the folder. So the ordering by filenames will be much better than in mp3browser new.
    The administrator has disabled public write access.
    • Page:
    • 1
    • 2
    Time to create page: 0.102 seconds
    for children older than 12 years