You are here:  » One single PT installation for several sites


One single PT installation for several sites

Submitted by pat on Mon, 2011-10-31 17:15 in

Hi David

I have price tapestry with misc. type of feeds all installed on

site+1.com/store/

I'd like to display 1 or several feeds on wordpress sites. For example:

wp_books.com/store -->feeds about books

wp_shoes.com/store --> feeds about shoes

wp_misc.com/store --> feeds about books and shoes

etc.

could you explain me how to set this up in the WP plugin? All sites are on the same server but none of the WP sites share the database of price tapestry... and I am not using wp msu.

Thanks

Pat

Submitted by support on Tue, 2011-11-01 14:39

Hello Pat,

As the plugin requires that the databases be shared; what I would do is as follows. Set-up Price Tapestry installations under each of the WordPress sites e.g.

wp_books.com/pt/

wp_shoes.com/pt/

wp_misc.com/pt/

When installing each copy, use the same database settings as the parent WordPress installation and then edit config.advanced.php and change $config_feedDirectory (line 6) to point to the same feeds directory as your main Price Tapestry installation. To find out what this value should be, go to /admin/ and then Support Info of your main Price Tapestry installation and look the Install Path value. It likely to be something like

/home/site+1/public_html/store/

...and then you would add feeds/ so in config.advanced.php you would use:

  $config_feedDirectory = "/home/site+1/public_html/store/feeds/";

With that in place, and each /pt/ installation configured to use the same database as it's associated WordPress installation; for each installation go to /pt/admin/ where you will see ALL the feeds from your common feed directory, but then _only_ register and import the feeds required for that site!

Cheers,
David.

Submitted by nurhaena on Wed, 2012-07-04 02:35

David,

Is the share feeds directory working on different hosting server ? For example feeds on example.com and share by multiple PT installation.

Thanks

Nurhaena

Submitted by support on Wed, 2012-07-04 08:17

Hello Nurhaena,

Feed management uses several PHP file system functions (e.g. filemtime) which means they do need to be physically on the same server i'm afraid.

Cheers,
David.
--
PriceTapestry.com