Page 1 of 1

Is management centralized of the news, jobs & Co, it possible?

Posted: Thu Nov 22, 2007 4:24 pm
by lcapt
Hello,
I wish to centralize the news, jobs, banners and “companyDirectory” on only one site and to reach it since of other sites which are lodged on the same server.
In the various modules of my sites “slaves”, I see instructions:

Code: Select all

$db =& $this->GetDb ();
$query = “SELECT job_category_id, job_category_name FROM” .cms_db_prefix (). “module_jobs_categories”;
$dbresult = $db->Execute ($query);
and I imagine that it is enough to replace “$db =& $this->GetDb (); ” by the parameters necessary to reach my “main” site so that the module seeks information at the good place.
Only here, I do not arrive at find how to change this line.

Thank you in advance for your answers,

Re: Is management centralized of the news, jobs & Co, it possible?

Posted: Mon Nov 26, 2007 3:47 pm
by lcapt
Whooo my problem as no solution ? :-[

Re: Is management centralized of the news, jobs & Co, it possible?

Posted: Mon Nov 26, 2007 5:30 pm
by alby
lcapt wrote: Whooo my problem as no solution ? :-[
Why you don't use UDT?

Alby