We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34193
    • 330 Posts
    Hi folks I have decided to start and have a look at revolution and generally liking what I see.

    Installed no problem, got a basic template up and running and wayfinder.

    I the installed ditto using package management and transport facility.

    Site still working fine.

    Now I add call to ditto onto page and get the following error

    Fatal error: Call to undefined method modX::loadLexicon() in /home/+++++++++/public_html/core/cache/web/elements/modSnippet/1.cache.php on line 178

    remove the call to ditto and no problem any one any ideas.

    Any help appreciated.
      • 28215
      • 4,149 Posts
      Could you file that as a bug in Jira, here:

      http://svn.modxcms.com/jira/browse/DITTO

      Thanks for catching it!
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 34193
        • 330 Posts
        Done
          • 4172
          • 5,888 Posts
          have the same problem, is it a Ditto or Revolution - Problem? Ideas where starting to look at?
            -------------------------------

            you can buy me a beer, if you like MIGX

            http://webcmsolutions.de/migx.html

            Thanks!
            • 28215
            • 4,149 Posts
            Quote from: Bruno17 at Dec 05, 2008, 05:04 AM

            have the same problem, is it a Ditto or Revolution - Problem? Ideas where starting to look at?
            A Ditto problem - there is a deprecated line in it that needs to be removed. I plan to upload a new version of Ditto that fixes this today.
              shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
              • 28215
              • 4,149 Posts
              Ditto 2.1.2-alpha2 has been uploaded to the Web Transport Facility and is now accessible from your MODx install’s Package Management section.
                shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
                • 4172
                • 5,888 Posts
                thanks shaun, also for all your other work on modx!
                Seems to work now!
                Another question: Is there anywhere a PHx-release for revolution or is somebody working on it?
                  -------------------------------

                  you can buy me a beer, if you like MIGX

                  http://webcmsolutions.de/migx.html

                  Thanks!
                  • 22303 MODX Staff
                  • 10,725 Posts
                  Quote from: Bruno17 at Dec 05, 2008, 10:19 AM

                  Another question: Is there anywhere a PHx-release for revolution or is somebody working on it?
                  PHx functionality is built into the Revo core in the form of input and output filters for all Elements. All tags now support PHx commands and modifiers and can be extended to use custom ones by providing custom filter classes:
                  [[$MyChunk:ucase]]
                  [[MySnippet:ifempty=`[[$NoOutputChunk]]`? &htmlTpl=`[[GetTemplate? &name=`MySnippetTpl`]]`]]
                  [[+MyPlaceholder:is=`myvalue`:then=`Correct`:else=`Incorrect`]]
                  [[*editedon:date=`%d.%m.%Y`]]
                    • 33337
                    • 3,975 Posts
                    Quote from: OpenGeek at Dec 05, 2008, 10:41 AM

                    PHx functionality is built into the Revo core in the form of input and output filters for all Elements. All tags now support PHx commands and modifiers and can be extended to use custom ones by providing custom filter classes:
                    [[$MyChunk:ucase]]
                    [[MySnippet:ifempty=`[[$NoOutputChunk]]`? &htmlTpl=`[[GetTemplate? &name=`MySnippetTpl`]]`]]
                    [[+MyPlaceholder:is=`myvalue`:then=`Correct`:else=`Incorrect`]]
                    [[*editedon:date=`%d.%m.%Y`]]


                    Thats plain slick!!
                      Zaigham R - MODX Professional | Skype | Email | Twitter

                      Digging the interwebs for #MODX gems and bringing it to you. modx.link
                      • 7231
                      • 4,205 Posts
                      I knew this but forgot about it, very cool indeed. There is so much happening that I can’t keep it all in order.

                      Does the Revolution syntax follow the PHx syntax? And are all of the PHx modifiers available (as in the wiki)? Is there a name for this or do we still call it PHx?
                        [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

                        Something is happening here, but you don't know what it is.
                        Do you, Mr. Jones? - [bob dylan]