English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?

Multi Sites Content In Module
(1 viewing) (1) Guest
Go to bottomPage: 123
TOPIC: Multi Sites Content In Module
*
#2528
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?
newbandon
Junior Boarder
Posts: 21
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Arizona, US
The administrator has disabled public write access.
 
#2530
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.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2532
Re:Multi Sites Content In Module 15 Years, 1 Month ago Karma: 0
Okay. Cool. Can't wait to see it!
newbandon
Junior Boarder
Posts: 21
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Arizona, US
The administrator has disabled public write access.
 
#2566
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.
lexxy2000
Senior Boarder
Posts: 43
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2567
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
lexxy2000
Senior Boarder
Posts: 43
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/11/17 06:03 By lexxy2000.
The administrator has disabled public write access.
 
#2570
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.
newbandon
Junior Boarder
Posts: 21
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Arizona, US
The administrator has disabled public write access.
 
Go to topPage: 123
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla