We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28042 ☆ A M B ☆
    • 24,524 Posts
    I sneaked in this morning and grabbed garryn’s latest branch, since I liked the sound of his SVN updates. I’ve updated my sottwell.com site to it, and it’s very, very nice. Except I’m rather fond of the MODxBlack manger template, so I installed it.

    I’ll be changing to a different template for the front-end eventually; I’m not at all fond of that Javascript menu. The submenus are given inline styling of "display:none" and it depends on the javascript to display them. If a user has javascript disabled, he won’t get the submenus at all. Plus, every time you mouseon and mouseoff a main menu item with no submenus, it generates errors.

    Some Unobtrusive Javascript would be more appropriate here, using the CSS file to hide the submenus in a regular CSS dropdown, and the Javascript to override the default if there is a submenu.
      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
      • 2762
      • 1,198 Posts
      Nicola (Banzai) Reply #22, 20 years ago
      Quote from: doze at Sep 16, 2006, 08:09 PM

      Me not likey the green background in the installer.. here in forums it’s black.

      right! wink

      fixed http://test.tattoocms.it/install/ smiley
        Free MODx Graphic resources and Templates www.tattoocms.it
        -----------------------------------------------------

        MODx IT  www.modx.it
        -----------------------------------------------------

        bubuna.com - Web & Multimedia Design
        • 25663 MODX Staff
        • 12,272 Posts
        Garry, wanna commit those installer changes too? Great job as usual banzai. smiley
          Ryan Thrash, MODX Co-Founder
          Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
          • 6726
          • 7,075 Posts
          Sorry to do some bumping there, but it seems that both items are important :

          - fixing the template switcher
          - deciding wether or not it’s doable to have default content localized or not (if not now, then later)

          Thoughts ?

          Quote from: davidm at Sep 16, 2006, 03:10 PM


          While I am here, I noticed the templates switcher does not work :
          index.php?id=39&template=X has no effect whatsoever, it remains the MODxHost template.

          Edit : it seems the Template Switcher Plugin is not installed... that would explain it tongue

          I’ll give this default content a long look tomorrow, I finally will get the chance...
          Other idea : Would it be doable to have multilingual default content ?

          I’d very much like to be able to offer french default content, others might want the same thing... I don’t think it would take me more than 1/2 a day to get this done with the help of my fellow french MODxers... probably that would be true of other communities here.

          Last but not least, wouldn’t it be better not to get hacked ?

          The config file is still writable and the installer present tongue

            .: COO - Commerce Guys - Community Driven Innovation :.


            MODx est l'outil id
            • 25663 MODX Staff
            • 12,272 Posts
            Template switcher definitely needs to be fixed. I think rather than having as a menu item, it might make more sense to do it as a popup list in the sidebar. The menu item implementation is confusing to me, and I suspect it will also be to lots of other folks.

            As far as localized content goes, I think we stick with what we have for now until we have a better way of handling multiple languages baked into the core. That is unless we can quickly build a distribution download builder like at http://mootools.net/ tongue
              Ryan Thrash, MODX Co-Founder
              Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
              • 15987
              • 786 Posts
              I have added the Template Switcher plugin and it works with the links as they are now. It should beeasy enough to change the way they are displayed if needed.
                • 25663 MODX Staff
                • 12,272 Posts
                Thanks Kyle. Anyone else find the template-switcher-as-a-menu-item confusing?
                  Ryan Thrash, MODX Co-Founder
                  Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                  • 6726
                  • 7,075 Posts
                  Quote from: kylej at Sep 17, 2006, 10:07 AM

                  I have added the Template Switcher plugin and it works with the links as they are now. It should beeasy enough to change the way they are displayed if needed.

                  Great Kyle, thanks !

                  Quote from: rthrash at Sep 17, 2006, 10:02 AM
                  Template switcher definitely needs to be fixed. I think rather than having as a menu item, it might make more sense to do it as a popup list in the sidebar. The menu item implementation is confusing to me, and I suspect it will also be to lots of other folks.

                  It didn’t confuse me very long but I had to look for it. It’s sure unusual to have it built this way. A popup list in sidebar would sure be more traditionnal and less confusing.

                  Quote from: rthrash
                  As far as localized content goes, I think we stick with what we have for now until we have a better way of handling multiple languages baked into the core.

                  OK, that makes sense.

                  Local communities might build a localized distro on their own anyway, if they so wish.

                  I might set this in motion for the french community at some point, right now there is a lot of support request from less savvy people and it sure would help as a starting point for many beginners. Then again, we’re not supposed to target end users (yet), I have made that clear a few times with users asking too much "hand holding"... but there are also people willing to work their way into MODx and it could help them get started.

                  Quote from: rthrash
                  That is unless we can quickly build a distribution download builder like at http://mootools.net/ tongue

                  Now that would *rock* !
                    .: COO - Commerce Guys - Community Driven Innovation :.


                    MODx est l'outil id
                    • 2762
                    • 1,198 Posts
                    Nicola (Banzai) Reply #29, 20 years ago
                    Quote from: davidm at Sep 16, 2006, 03:10 PM

                    ....

                    Last but not least, wouldn’t it be better not to get hacked ?

                    The config file is still writable and the installer present tongue


                    done smiley
                      Free MODx Graphic resources and Templates www.tattoocms.it
                      -----------------------------------------------------

                      MODx IT  www.modx.it
                      -----------------------------------------------------

                      bubuna.com - Web & Multimedia Design
                      • 22815
                      • 1,097 Posts
                      It’s easy to get "multilingual" and "choice of [single] language" confused. I don’t see why we have to wait for the core multiple languages stuff to allow default content in other languages - MODx can be used today in other languages - indeed, it seems one of the community strengths. Presenting users with a choice of single language in the installer makes sense (this would mean translating the installer too).

                      The document content part of setup.data.sql presently takes up about 32kb out of the 158kb total, and obviously that compresses down to practically nothing. (And the new content is shorter than the current content).

                      Presently, there is actually a choice in the installer of default content - if the full site is not chosen, a single page is added. Having a choice of "No sample content, English sample content, French sample content" etc would seem not to be a big change.

                      Further, it will be useful to have the default content in different languages today so that we can test multiple languages tomorrow. The best way of achieving that will be to centralize efforts rather than having custom installations that might use entirely different content structures.

                      As a secondary issue, I’d like to see the "no sample content" option actually include a 404 page.
                        No, I don't know what OpenGeek's saying half the time either.
                        MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
                        Forum: Where to post threads about add-ons | Forum Rules
                        Like MODx? donate (and/or share your resources)
                        Like me? See my Amazon wishlist
                        MODx "Most Promising CMS" - so appropriate!

                      This discussion is closed to further replies. Keep calm and carry on.