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

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
lcapt

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

Post 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,
lcapt

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

Post by lcapt »

Whooo my problem as no solution ? :-[
alby

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

Post by alby »

lcapt wrote: Whooo my problem as no solution ? :-[
Why you don't use UDT?

Alby
Locked

Return to “CMSMS Core”