We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37138
    • 12 Posts
    Cannot ge this to work, how to set row as published?

     function updateDocument($id, $tvs) {
    		 $update = array(
               "published" => 1
                  );
    			   $id = $this->CakeModx->updateDocument($update);
            foreach ($tvs as $k => $v)
                $this->CakeModx->setTV($k, $id, $v);
        }