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?
Go to bottomPage: 123
TOPIC: Menu Sharing
#6789
Menu Sharing 13 Years, 1 Month ago Karma: 0
Hi,

I have configured jms multisite successfully now it is working fine.
I need to show the slave site same like master site including content,menu..etc
I have configured virtuemart also, In slave site I have to show only slave site products and categories alone.

We need to show all slave site categories,subcategories and products in master site

Kindly let me know how to achive this.
vinod
Junior Boarder
Posts: 34
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2011/03/21 13:56 By vinod.
The administrator has disabled public write access.
 
#6793
Re: Menu Sharing 13 Years, 1 Month ago Karma: 54
I don't see the relationship between this thread title and the description that you give.

Sharing menu is not directly possible.
We propose a "Multisites Menu Item" extension that allows you creating a kind of sharing between the item of a menu. Not the menu itself.

Concerning the other question concerning the possibility to see all the VirtueMart products in the master, this is only possible when you share the VirtueMart extension between a master and the slaves but in this case, all the slave will also have all the products information.

So you can share the whole content of an extension or nothing but not partially.

The concept of the sharing is to share the MySQL tables used by the extension.
Sharing the table means that you share all the records. In other words, you share all the products, categories, ... (everything) and not only few records.

What you request is the "Multisites VirtueMart" that would be able, like our "Article Sharing for JMS" to read specific records of VirtueMart.
This extension does not exists.
The only thing that you could do is to share the whole VirtueMart and modify the VirtueMart PHP code to just display few categories depending on the websites.
This will require to modify VirtueMart itself and is not necessary easy to develop.

Another solution would be to keep the virtuemart independent and develop a module or a component that would be able to display the list of product that exists in the other websites.
If you want that we develop such kind of extension or modifying the virtuemart to filter things, this kind be analyzed and developed with our billable support that you can order at www.jms2win.com/en/joomla-multisite?page...35&category_id=1
This may require several days of development.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
Last Edit: 2011/03/22 11:03 By edwin2win.
The administrator has disabled public write access.
 
#6811
Re: Menu Sharing 13 Years, 1 Month ago Karma: 0
Thank you for your suggestion

In which way we can easily achieve the above functionality.
vinod
Junior Boarder
Posts: 34
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#6812
Re: Menu Sharing 13 Years, 1 Month ago Karma: 0
When we are developing the separate module or component for displaying the products in master site (With out sharing the virtuemart),I made some code changes on virtuemart design I think it will not refelect in slaves...
How to resolve this issue...
vinod
Junior Boarder
Posts: 34
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#6827
Re: Menu Sharing 13 Years, 1 Month ago Karma: 0
Hi Edwin,

How to get the slave site id in code level..while navigating to that site..
vinod
Junior Boarder
Posts: 34
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2011/03/28 13:54 By vinod.
The administrator has disabled public write access.
 
#6831
Re: Menu Sharing 13 Years, 1 Month ago Karma: 54
It is very easy to know if you are in a slave site or in the master and how to get the current site ID.

here it is a sample peace of code for that

Code:

if ( defined( 'MULTISITES_ID')) {
   // This is a slave site
   $site_id = MULTISITES_ID;
}
else {
   // This is the master
   $site_id = ':master_db:';
}

edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
Last Edit: 2011/03/28 18:31 By edwin2win.
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