Multi Sites Content In Module 15 Years, 1 Month ago
|
Karma: 0
|
Multi Sites Content is the coolest component ever (except for JMS, of course)! For getting info across domains, it's fast and easy.
One little issue seems to be that there's no way to make that content available to modules, like Latest News or Newsflash (maybe that's the point, though).
Does anyone know of a way to link Multi Sites Content into modules like mod_latestnews or mod_newsflash? Since there's no category or section id given to the content in the slave site, I don't know where those modules could poll the data from. I know there's a cache created somewhere. Maybe the modules can look at that?
Maybe there needs to be a specific Multi Sites Content module for this to work?
|
|
|
|
|
Re:Multi Sites Content In Module 15 Years, 1 Month ago
|
Karma: 54
|
For the moment we have not developped the "Multisite latest news" or similar.
Create such module require that I rewrite all the modules and modify all the DB access.
This is what we did for the "Articles Sharing" (Multisites Content) component.
With the new Joomla 1.6 coming and the new way that articles are managed we have to rewrite the "Article Sharing" and we will try to also create modules like the one that you would like to have.
|
|
|
|
|
Re:Multi Sites Content In Module 15 Years, 1 Month ago
|
Karma: 0
|
Okay. Cool. Can't wait to see it!
|
|
|
|
|
Re:Multi Sites Content In Module 15 Years, 1 Month ago
|
Karma: 0
|
i just bought multi sites content for that exact reason i was completely disappointed to find out is was completely not what i thought it was. Cannot share content in a module that sucks. Now i am stuck with it.
|
|
|
|
|
Re:Multi Sites Content In Module 15 Years, 1 Month ago
|
Karma: 0
|
ok since we are both in the same boat i decided to try and modify the latest news module to do what we want so far i have gotten it to work but i need some help edwin tell how you would do this if you had to here is my code
I am modifying the latest news module and need help on passing on a new variable from the xml file to a php file for the modele.
this is the para from the xml fiile
<param name="dbid2" type="text" default="" label="Datababe Id" description="DATABASEID" />
this is my code block
$dbid2 = $params->get('dbid2') ;
$option = array(); //prevent problems
$option['driver'] = 'mysql'; // Database driver name
$option['host'] = 'localhost'; // Database host name
$option['user'] = 'xxxx'; // User for database authentication
$option['password'] = 'xxxx'; // Password for database authentication
$option['database'] = 'need to get dbid2 here from xml variable'; // Database name
$option['prefix'] = ''; // Database prefix (may be empty)
$db = & JDatabase::getInstance( $option );
I need to get the dbid2 variable from the xml file to the $option['database']='here'
so it will connect to the database defined. Any suggestions
|
|
|
Last Edit: 2009/11/17 06:03 By lexxy2000.
|
|
Re:Multi Sites Content In Module 15 Years, 1 Month ago
|
Karma: 0
|
Great lexxy2000! Please share your hack here when you get it working.
Unfortunately, I can't provide any input on the code, but hopefully Edwin can shed some light on it for the benefit of all JMS users since this seems like important functionality.
|
|
|
|
|
|