ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

How could I do for make(create) a "goup of templates group" 's structure?

September 22, 2011 10:27am

Subscribe [1]
  • #1 / Sep 22, 2011 10:27am

    ayolos

    11 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

  • #2 / Oct 05, 2011 6:22am

    ayolos

    11 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

  • #3 / Oct 10, 2011 10:05am

    ayolos

    11 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.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases