0
I've created 3 artists and 3 albums using directory scan method.
When I click on 2nd and 3th album it always opens 1-st album.
When I click on 2nd and 3th album it always opens 1-st album.
Responses (6)
-
Accepted Answer
0Hmmm... It seems that every artist MUST HAVE a specific letter in settings...
I have russian and english artists - I need set custom alpabet for this option?
What I need edit in /helper/alphabets.php to get russian and english letters?
get('alphabet', 'english') ;
$characters['internal'] = MusColAlphabets::internal_characters($language);
$characters['external'] = MusColAlphabets::external_characters($language);
return $characters ;
}
function get_combined_array(){
$characters = MusColAlphabets::get_characters();
for($i = 0, $n = count($characters['internal']); $i racters() (see below)
$internal['english'] = array("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","1");
$internal['greek'] = array("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","1");
$internal['russian'] = array("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","2","3","4","5","6","7","8","1");
$internal['arabicltr'] = array("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","2","3","1");
$internal['arabicrtl'] = array_reverse($internal['arabicltr']);
$internal['custom'] = array("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","1");
return $internal[$language] ;
}
function external_characters($language){
$external['english'] = array("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","#");
$external['greek'] = array("Α","Β","Γ","Δ","Ε","Ζ","Η","Θ","Ι","Κ","Λ","L","Μ","Ν","Ξ","Ο","Π","Ρ","Σ","Τ","Υ","Φ","Χ","Ψ","Ω","#");
$external['russian'] = array("А","Б","В","Г","Д","Е","Ё","Ж","З","И","Й","К","Л","М","Н","О","П","Р","С","Т","У","Ф","Х","Ц","Ч","Ш","Щ","Ъ","Ы","Ь","Э","Ю","Я","#");
$external['arabicltr'] = array("ا","ب","ت","ث","ج","ح","خ","د","ذ","ر","ز","س","ش","ص","ض","ط","ظ","ع","غ","ف","ق","ك","ل","م","ن","ه","و","ي","#");
$external['arabicrtl'] = array_reverse($external['arabicltr']);
$external['custom'] = array("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","#");
return $external[$language] ; ;
}
}
-
Accepted Answer
0that's what we talked about the other day: if you want a letterbar both english and russian, you need to use the "CUSTOM" option.
this is an array of letters. you basically need to add to this array all the russian characters, and assign them a correspondant numeric value ($internal and $external vars) -
Accepted Answer
0look: in the $external[custom], you need something like this:
$external['custom'] = array("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","#","А","Б","В","Г","Д","Е","Ё","Ж","З","И","Й","К","Л","М","Н","О","П","Р","С","Т","У","Ф","Х","Ц","Ч","Ш","Щ","Ъ","Ы","Ь","Э","Ю","Я");
and in the $internal[custom] something like:
$internal['custom'] = array("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","1","2","3","4"...... ETC.......); -
Accepted Answer
0Hmmm...
A edited arrays
$external['custom'] = array("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","#","А","Б","В","Г","Д","Е","Ё","Ж","З","И","Й","К","Л","М","Н","О","П","Р","С","Т","У","Ф","Х","Ц","Ч","Ш","Щ","Ъ","Ы","Ь","Э","Ю","Я");
$external['custom'] = array("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","#","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33");
Now alphabet don't displays....
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »