We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14269
    • 6 Posts
    I’m working on a multilingual site with this structure:

    - Language 1 (id=1)
    -- item a ...
    - Language 2 (id=2)
    -- item b...
    - Language 3 (id=3)
    -- item c...

    The "home" is set to 1 at the Config system

    I have used the snippet [[SectionRoots]] to set three different roots: $sectionRoots = ’1,2,3’; It works very fine. But I have a little problem with the Breadcrumbs snippet that I don’t know how to solve.

    When you are at item "a" the breadcrumb shows:
    Home > Item a

    But when you are at item "b", it shows:
    Home > Language 2 > item b

    Does anybody knows how can I do to make the breadcrumb will show only
    Home > Item b
    Where "Home" would link to "Language 2"

    --

    And the second qüestion is about the FlexSearchForm. Is there any way to limit the search area to each one of the three languages? I mean, when you are at language 1, search only pages hanging from this language... ?

    I have used the version modded bay Jaredc with multilanguage support


    Thanks and sorry by my English.

    Jaume
      • 22303 MODX Staff
      • 10,725 Posts
      Quote from: jlbach at Nov 22, 2006, 08:47 AM

      And the second qüestion is about the FlexSearchForm. Is there any way to limit the search area to each one of the three languages? I mean, when you are at language 1, search only pages hanging from this language... ?
      @jlbach: I’ve worked on a site that can limit searches to children of a specific document, based on the exact same language structure. I’ll see if I can package up the modifications later today and post here in the forums or the repository (if it doesn’t need any additional work).

      I have not used the other snippets you mentioned however and will have to defer the other questions...
        • 14269
        • 6 Posts
        I have moved the post of the first question to the Breadcrumb support topic:
        http://modxcms.com/forums/index.php/topic,5512.msg66736.html

        Jaume