Welcome Guest, Not a member yet? Register   Sign In
Modular Extensions and URI Language Identifier
#1

[eluser]turco[/eluser]
I'm planning to develop a complex multilanguage site. I must split contents in modules, so I'm using Modular Extensions, all works well. Now in trying to integrate ME with URI Language Identifier, but I can't.

I'd like to organize my contents in this way (I wonder if it's right):
Code:
- application
  - modules
    - home
      - controllers
      - language
      - modules
      - views
    - articles
      - controllers
      - language
      - modules
      - views
    - ...
      - controllers
      - language
      - modules
      - views

MY_Language.php extends CI_Language, that try to load a language by these two different paths:

Code:
APPPATH.'language/'.$idiom.'/'.$langfile
BASEPATH.'language/'.$idiom.'/'.$langfile

instead of trying to load in the current module directory. Obviously, the system returns an error. Is there a way to integrate these two extensions (or a better way to develop a website like that)?


Messages In This Thread
Modular Extensions and URI Language Identifier - by El Forum - 07-29-2008, 04:36 AM
Modular Extensions and URI Language Identifier - by El Forum - 07-29-2008, 08:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB