We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1416
    • 75 Posts
    This might already be answered somwhere here in the forum, but I couldn’t find any useful information.

    Why is the setting for strftime and all related strings hardcoded into files and not editable inside the manager?
    And why keep them in files on different places when it to me makes more sense to have them all stored in either the langfiles or a config file under lang...?

    Just wondering.

    I’m ready to be enligthened now. laugh

    Cheers
      • 22303 MODX Staff
      • 10,725 Posts
      These references are all created by component developers. The MODx core does not control this. You can use strftime with your own patterns in any code you want within MODx.
        • 1416
        • 75 Posts
        Hmm.

        I’m kind of a n00b at this, but does that mean for instance that the mutate_web_user.dynamic.php and the save_web_user.processor.php is not core?

        Exactly what is the core then?

        So if I as a future developer would want the ability to set the strftime inside the manager and get this approved by the core team, I could?
        That is if the core team recognizes this feature as an actual feature worth implementing...

        Just wondering.
        Me = new at this so called earthly life.

        Thanks for your reply though, OpenGeek
          • 22303 MODX Staff
          • 10,725 Posts
          Quote from: Amrit at Jan 16, 2009, 11:35 AM

          I’m kind of a n00b at this, but does that mean for instance that the mutate_web_user.dynamic.php and the save_web_user.processor.php is not core?

          Exactly what is the core then?
          I thought you meant for front-end web-site development. No that is definitely core. That probably could use a system setting.

          Quote from: Amrit at Jan 16, 2009, 11:35 AM

          So if I as a future developer would want the ability to set the strftime inside the manager and get this approved by the core team, I could?
          That is if the core team recognizes this feature as an actual feature worth implementing...
          Absolutely.
            • 7231
            • 4,205 Posts
            It would be cool to have an additional parameter in the Site Settings to define the date format to use. And have this parameter available to use within snippets as well (like a global date/time setting). Good idea. wink
              [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]
              • 1416
              • 75 Posts
              So.

              I think I know more then a few people who would like this feature.
              I will ask a friend of mine program it, and then I’ll post it here.
              I’m guessing it shouldn’t be that hard to fix.

              Cheers, and stay Open