11
vietnam
Re: SOS new lexikon 1.0 (old wordbook)
  • 2008/7/10 3:17

  • vietnam

  • Just popping in

  • Posts: 59

  • Since: 2007/5/25


Quote:
Extremely thank the help.
Please help
otice [PHP]: Undefined index: definition in file c:\program files\easyphp1-8\www\xoops224\modules\lexikon\letter.php line 219
Notice [PHP]: Undefined variable: metadef in file c:\program files\easyphp1-8\www\xoops224\modules\lexikon\letter.php line 225

I am XOOPS 2.2.4 PHP5.0.XX

12
Mamba
Re: SOS new lexikon 1.0 (old wordbook)
  • 2008/7/10 5:53

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


in the /letter.php file:

1) on Line 219 change $metadefin to: $metadef

Quote:
$metadef = substr( lx_html2text($eachentry['definition']),0,15 ). " read more..."; // lenght of definition to show in tags


2) In line 226 change $metadefin to: $metadef
Quote:
lx_get_metadescription($eachentry['term'].' '. $metadef);
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

13
vietnam
Re: SOS new lexikon 1.0 (old wordbook)
  • 2008/7/10 7:11

  • vietnam

  • Just popping in

  • Posts: 59

  • Since: 2007/5/25


Extremely thank the help.
Please help
Notice [PHP]: Undefined index: definition in file c:\program files\easyphp1-8\www\cool\modules\lexikon\letter.php line 219
Notice [PHP]: Undefined index: definition in file c:\program files\easyphp1-8\www\cool\modules\lexikon\index.php line 283
Notice [PHP]: Undefined variable: definition in file c:\program files\easyphp1-8\www\cool\modules\lexikon\blocks\random_term.php line 71
Notice [PHP]: Undefined index: definition in file c:\program files\easyphp1-8\www\cool\modules\lexikon\category.php line 184

14
vietnam
Re: SOS new lexikon 1.0 (old wordbook)
  • 2008/7/12 2:05

  • vietnam

  • Just popping in

  • Posts: 59

  • Since: 2007/5/25


Is not perfect
PHP
modules\lexikon\letter.php line 219
modules\lexikon\index.php line 283
modules\lexikon\category.php line 184

https://xoops.org/modules/newbb/viewtopic.php?post_id=292123#forumpost292123
[size=xx-large]Help me[/size]

15
vietnam
Re: SOS new lexikon 1.0 (old wordbook)
  • 2008/7/17 14:07

  • vietnam

  • Just popping in

  • Posts: 59

  • Since: 2007/5/25


Quote:

Mamba wrote:
I looked quickly into it, but it will require somebody who has experience in dealing with international characters.

1) I've changed the function as posted here, so at least I got the letters now visible

2) However, Lexikon still didn't show properly the words starting with a particular Vietnamese letter. I checked and it seems like Lexikon doesn't extract properly the initials of each word and writes them into the database (line 114 in submit.php):

Quote:
$init = substr($term, 0, 1);

In my case Lexikon was writing into the database "#" as initial for each words starting with Vietnamese character, so when Lexikon was reading the words back from the database, it grouped them automatically under "Other"

3) I then manually changed the initials in the database, so now Lexikon was reading them, but it was putting them in multiple categories. For example, the word Âcuon was counted under "A" and under "Â"

Unfortunately, I don't have the time and skills to solve it. But it seems to me that the problems are:

1) To properly write the initial of the word starting with Vietnamese characters into the database

2) When reading the words from the database, Lexikon has to place them into the right character group, without any duplications.

Sorry, I couldn't be of more help, but hopefully some experts in internationalization will jump in...

Excuse me.
Please help me.

Login

Who's Online

167 user(s) are online (90 user(s) are browsing Support Forums)


Members: 0


Guests: 167


more...

Donat-O-Meter

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

Latest GitHub Commits