EllisLab text mark
Advanced Search
     
How could I do for make(create) a “goup of templates group”  ‘s structure?
Posted: 22 September 2011 10:27 AM   [ Ignore ]
Joined: 2011-09-14
18 posts

Hello everybody,

well, for purposes of development and maintenance, I need a structure of “group of templates groups”, I would like some help to get an equivalent structure, because the site I’m developing will be maintained by a non inici in programming, thanks a lot for your help

Best wishes, seb.

NB: it’s for, among other things, the different languages ​​in which the site will be translated in the future, and there are others reasons

 Signature 

http://rank-ur-best.com

 
Posted: 05 October 2011 06:22 AM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Joined: 2011-09-14
18 posts

Hello everybody,

well, I saw this for my problem:
http://expressionengine.com/wiki/Multi_language_site_alternative

and I didn’t succes to run it, it doesn’t run, I think I didn’t do it correctly because I’ve got some problems to understand exactly what mean this part exactly :

To make sure the default language also works on the index page (without any country code added to the URL) you should also update the $global_vars array in your default path.php file.

To add more languages, just repeat step 1 - 4.
Step 4

Create custom fields for your new language and add the country_code to the Field Name.
You should end up with Field Names like this:

- title (default title field)
- fr_title (french title field)
- en_summary
- fr_summary
- en_body
- fr_body

and i didn’t find the path.php file, so I modified the admin.php file(Did I badly make?...)

Thank you in advance for everything
Best wishes, seb

 Signature 

http://rank-ur-best.com

 
Posted: 10 October 2011 10:05 AM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Joined: 2011-09-14
18 posts

Hello everybody,

well, I found a part of the solution to my problem, but, it doesn’t work anyway…

I explain myself:

-> I create the 2 files (index.php) required for make the switch between 2 languages in each appropriate’s directory.

-> I put the php’s switch in a template “header” after this html’s tag <body> in the page’s body.

-> I created a template for my default site for display the home’s page

but i don’t understand why it’s not work, I followed, as much as I was able to do it, the user guide, but nothing made for it

Somebody could bring me a little of help, direct me or something else please…

Beforehand, thank you for all

NB: I know I have somme difficulties with EE, but in php, in using the MVC design pattern, I haven’t got big difficulties

NB2: If I have to absolutly use the extension “ext.language_switcher.php”; Do somebody could say to me where to put it, thank you.

 Signature 

http://rank-ur-best.com