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: 1
TOPIC: Sharing Virtuemart
#3038
Sharing Virtuemart 14 Years, 3 Months ago Karma: 0
Hi Edwin,

I'm using the option to share Virtuemart with my slave sites and so far it is working correctly, however, the template I am using is using a product scroller that accesses the products file of the Slave site instead of the Master where the products are loaded. How can I edit the scroller file to use the master database instead? The php for the scroller is below:

<?php
/**
* @package RokLatestNews
* @copyright Copyright (C) 2007 RocketWerx. All rights reserved.
* @license www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
*/


// no direct access
defined('_JEXEC') or die('Restricted access');

// Include the syndicate functions only once
require_once (dirname(__FILE__).DS.'helper.php');

$list = modRokVirtuemartScrollerHelper::getProducts($params);
$counter = 0;
require(JModuleHelper::getLayoutPath('mod_rokvirtuemart_scroller'));
slboone
Junior Boarder
Posts: 31
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3041
Re: Sharing Virtuemart 14 Years, 3 Months ago Karma: 54
You probably have to modify the module to hardcode the DB conenction and always request the master DB.

I suppose that the access are performed in the "getProducts" routine
$list = modRokVirtuemartScrollerHelper::getProducts($params);

We also propose billable support that can be used for specific development or installation, teachnig, ...
So if you want that we create a specific modified module that perform such "hardcoded" master access, you can order such billable support at www.jms2win.com/download?page=shop.produ...35&category_id=1
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3048
Re:Sharing Virtuemart 14 Years, 3 Months ago Karma: 0
How many hours of billable support do you think I will need to buy?

Thanks again Edwin!!!

Sondra
slboone
Junior Boarder
Posts: 31
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3049
Re:Sharing Virtuemart 14 Years, 3 Months ago Karma: 54
Send me this extension in attachement of an email to allow me review it and estimate the workload.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla