Author Topic: Development CMP  (Read 1415 times)

0 Members and 1 Guest are viewing this topic.

Offline crackers

  • Administrator
  • Full Member
  • *****
  • Posts: 150
  • Karma: +0/-0
Re: Development CMP
« Reply #30 on: August 07, 2011, 11:10:45 PM »
Ga muncul apa2 master

Offline goldsky

  • tweets @_goldsky
  • Administrator
  • Sr. Member
  • *****
  • Posts: 283
  • Karma: +1/-0
  • Less is more
    • Virtudraft Web
Re: Development CMP
« Reply #31 on: August 09, 2011, 10:01:16 AM »
kirim email lagi, deh... :(
Rico
Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
Apache 2.0.63 (Win32)
PHP Version 5.2.9-2
MySQL 5.0.87 (3306)
Security, security, security!
IE 6 must die !
Indonesian Forums
Cheatsheets: Revo's, Evo's
Easy 2 Gallery 1.4.x
Board || GIT || WIKI || Examples || Donate
spiefeed || Doc || GIT
» tutorial, tips, & tricks to here: http://modx-linx.net

Offline goldsky

  • tweets @_goldsky
  • Administrator
  • Sr. Member
  • *****
  • Posts: 283
  • Karma: +1/-0
  • Less is more
    • Virtudraft Web
Re: Development CMP
« Reply #32 on: August 14, 2011, 07:42:52 PM »
Sama seperti solusi sebelumnya, kayaknya elo lupa manggil addPackage buat nge-load mysql schema yang udah dibuat.

Code: php [Select]


    function __construct(modX &$modx,array $config = array()) {
        $this->modx =& $modx;
        // ....

        // yang ini elo selalu kelupaan, padahal dia is penting, bro
        $this->modx->addPackage('hosting', $this->config['modelPath']);   
    }
Rico
Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
Apache 2.0.63 (Win32)
PHP Version 5.2.9-2
MySQL 5.0.87 (3306)
Security, security, security!
IE 6 must die !
Indonesian Forums
Cheatsheets: Revo's, Evo's
Easy 2 Gallery 1.4.x
Board || GIT || WIKI || Examples || Donate
spiefeed || Doc || GIT
» tutorial, tips, & tricks to here: http://modx-linx.net