We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 43656
    • 10 Posts
    I've been using ModX Evolution for couple of years running our company web site with country versions. It has worked very well I would like to stick with ModX if possible.

    We are in the process of designing a brand new site and I'm trying to find information on these things:


    1. Is there any way to handle localization/language versions in Revo? In Evolution we have used YAMS (Yet Another Multilingual Solution) to make country specific versions of the pages by using one YAMS language (such as Swedish) as a country version. Similar solution in Revo would be enough.
    2. Normal anchor links have never worker on our site despite trying different tricks found on these forums. Any differences between Evo & Revo and anchor linking? Nowadays important point with search engine optimatization.
    3. What's the situation with Revo + Bootstrap combination?
      Found this: http://modx.com/extras/package/theme.bootstrap


    Any info is appreciated. smiley
      • 36996
      • 211 Posts

      1. For language versions you can use contexts and Babel - http://rtfm.modx.com/display/ADDON/Babel
      2. I didn't understand this question
      3. You can also just build your templates with bootstarp and the port them to revo
        • 43656
        • 10 Posts
        Thank you very much for the answer nir-z.


        1. Babel seems quite useful. I'll investigate some more.
        2. For instance we've had problems with anchor links within the page. Either they won't work or the browser is refreshing the whole page instead of jumping directly to the anchor (issue with the base tag and/or friendly URL's maybe?). For instance I've tried something like these:
          http://forums.modx.com/forums/thread/19698/small-tip-anchor-links-with-dynamic-path#dis-post-109420
        3. Ok, nothing special here then.
          • 36996
          • 211 Posts
          For the anchor link you can use something like:
          <a href="[[~[[*id]]]]#main" class="skip">Back to Top</a>


          As for the bootstrap addon, I should have said that I don't use it, maybe others could give you better info on that.
          • This is the best tutorial I've found so far on using contexts and Babel. http://www.multilingual-modx.com/blog/2011/seo-friendly-multilingual-websites-with-modx-and-babel.html

            Note that instead of .htaccess rewrite rules, I use a different plugin (step 4) which is mentioned in the article's comment by gadamiak that doesn't need them. https://gist.github.com/gadamiak/3812853
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 43656
              • 10 Posts
              nir-z:
              I tried your anchor link tip but it produces a non-working URL like base_url/]]#main. Using Evolution 1.0.5. That's why I was asking about possible differences between Evo and Revo since none of these tricks seems to work as they should.

              I think I'll do a quick test implementing Bootsrap straight into Revo templates.

              sottwell:
              Thanks, gadamiak's code sure looks helpfull.

              Do you guys know any restrictions related to the use of Babel? Like there is mentioned in the blog that GoogleSiteMap Extra will not function properly without tweaking.
                • 36996
                • 211 Posts
                The anchor link example is for revo...
                  • 43656
                  • 10 Posts
                  Quote from: nir-z at May 08, 2013, 11:52 AM
                  The anchor link example is for revo...

                  Noticed. smiley Tested it on Revo and worked fine. Also implementing Bootstrap seems to work as long as you know which part of HTML is in templates and which in page content.