We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1634
    • 51 Posts
    Hi All,

    I’m quite new to modx so cant work this out easily on my own but is docmanager still supported on 0.9.6.1. I cant seem to update tv values.

    Thanks

    AndyFlan
      Hmmmmm.

      It's all a delusion
      • 32646
      • 87 Posts
      I’ve noticed this, too. There seem to be some glitches when propagating TV’s down through folders. Sometimes it works and sometimes not.

      I used SuperFast and that worked fairly well. A little more cumbersome for deep folders, but at least it is a little more flexible, too.
        Just learning the ropes.
        • 1634
        • 51 Posts
        Quote from: wordcooper at Feb 12, 2008, 09:41 AM

        I’ve noticed this, too. There seem to be some glitches when propagating TV’s down through folders. Sometimes it works and sometimes not.

        I used SuperFast and that worked fairly well. A little more cumbersome for deep folders, but at least it is a little more flexible, too.

        Hi,

        Thanks for your reply. I’m using this to add docs from the front end (during an eForms event actually). Does superfast do this? It doesn’t look like it, the docs aren’t very clear.
          Hmmmmm.

          It's all a delusion
          • 32646
          • 87 Posts
          No, I don’t think so. SuperFast just changes values on already created docs.
            Just learning the ropes.
            • 28300
            • 60 Posts
            I have a warning while using Docmanager.
            In Save() function line 74:
            $this->fields['id']=$modx->db->insert(&$this->fields, $tablename);


            and line 78:
            $modx->db->update(&$this->fields, $tablename, "id=$id");


            Execute with warning "pass by reference is deprecated".
            As far as I see there are no need of passing by reference. So it should be:

            $this->fields['id']=$modx->db->insert($this->fields, $tablename);

            and
            $modx->db->update($this->fields, $tablename, "id=$id");


            If I’m wrong please tell.
              • 36678
              • 152 Posts
              This is wonderful. However, I do not know how I put things, but not with pre-defined drive. Please give me a template (style than NewsEditor) to put a chunk connecting with this API.
                Multylingo 1.0 alpha (snippet + plugin) - For creation a full-featured multilingual site with MODx Evo
                My sites:
                Мисли, интересни мисли