1
mrphilong
Wordbook 1.7 include non English alphabet.
  • 2007/1/18 2:28

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


I would like to include non English alphabet like Ă, Â, Đ ...etc in the section

Browse by letter

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 | Other | All

see link here

any clue where to start looking?

Many thanks
www.UcChau.Net
www.XoopsViet.Org

2
irmtfan
Re: Wordbook 1.7 include non English alphabet.
  • 2007/1/18 10:37

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


look at this hack i do a while ago:
adding alphabet

3
mrphilong
Re: Wordbook 1.7 include non English alphabet.
  • 2007/1/18 12:53

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


You are right it doesn't work with multibyte character. It displays OK but there is no link on the multibyte character. Thanks for your help.
www.UcChau.Net
www.XoopsViet.Org

4
vietnam
Re: Wordbook 1.7 include non English alphabet.
  • 2008/7/9 0:57

  • vietnam

  • Just popping in

  • Posts: 59

  • Since: 2007/5/25


news Lexicon 1.0
function lx_alphaArray ()
    {
    global 
$xoopsUser$xoopsDB$xoopsModule;
    
$alphabet = 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");
    
$alpha = array();
    
$num count($alphabet) - 1;
    for (
$a 0$a <= $num$a++ )
        {
        
$letterlinks = array();
        
$initial $alphabet[$a];
        
$sql $xoopsDB -> query "SELECT * FROM " $xoopsDB ->
prefix "lxentries") . " WHERE init = '$initial' " );
        
$howmany $xoopsDB -> getRowsNum$sql );
        
$letterlinks['total'] = $howmany;
        
$letterlinks['id'] = $alphabet[$a];
        
$letterlinks['linktext'] = $alphabet[$a];

        
$alpha['initial'][] = $letterlinks;
        }
    return 
$alpha;
    }

error
I would like to include non English alphabet like ?, Â, ? ...etc in the section

Âde ?other error
?i ?other error

Login

Who's Online

194 user(s) are online (122 user(s) are browsing Support Forums)


Members: 0


Guests: 194


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits