Recently Browsing 0 members
No registered users viewing this page.
I'm trying to figure out how to sync fields and templates between staging and production environments.
I've found Migrations module by Lostkobrakai, but with use of it all the fields and templates must be created by API, which is kind of uncomfortable.
I also tried ProcessDatabaseBackups module which can export only certain tables, but I don't think it's the best practice to do that.
How do you guys solve this problem? It's very annoying to setup everything three times (dev, staging, production).
Thanks a lot :)
Hi community, I am wondering if its possible to display languages based on what host/domain has been requested.
The use case is the following: I have one installation of PW - and within this installation I set up 5 different languages (default, english, spanish, french, dutch). Now I have 3 different domains (domainA.com, domainB.com, domainC.com) and I want to decide which languages to make available based on what domain has been navigated to.
- default (domainA.com)
- english (domainA.com/en)
- default (domainB.com)
- french (domainB.com/fr)
- dutch (domainB.com/nl)
- default (domainC.com)
- dutch (domainC.com/nl)
So what I want to achieve is making only these particular languages selectable in the language switcher on the frontend. Since all pages share the same templates and overall site structure I don't see the benefits of running this installation as a multisite setup or would it be better to do so? But I assume that this would be difficult to handle since the default language might change as well. (On the french version of the page, french should be the default language and so on). Any suggestions how to accomplish that? Thanks!
After temporarily using Module Image Extra, which I completely removed, I had some troubles with my imagefield (unused table columns).
So I just imported a previous version of this column via PHPmyAdmin, which worked pretty well.
Anyways, in Processwire Backend all image tags are gone, although they are OK in the database.
Other image related things work (thumbnail, title etc are OK).
Is there any way to recreate all the images or something? Or may this be an cache-related issue?
Thanks in advance 😃
By Peter Knight
Is it possible to have a PW site display content from another PW site?
I've been reading about ProcessWire's Multi-site options and I don't think either is a way forward for me.
Both PW sites are separate installs with separate databases but crucially they are on the same VPS. So I'm hoping that's a good thing.
Basically, Site A has approx 100 reviews consisting of these fields
Reviewer name Review Date Instead of setting up the fields onto Site B and duplicating work and creating 100 pages, I want to *somehow* get site B to use a selector to fetch the necessary content from Site A.
In future, if I need to update the reviews, I can goto the 'source' Site A to do this.
By Guy Verville
I know it is possible to have a different domain name for each language of a site. For exemple:
monsite.com (for French) mysite.com (for English) I know also that we can have several sites in one installation with the help of Soma's Multisite module.
I have a company who has four independent sites (four different companies under a same umbrella). The new design and structure of those sites will be practically identical. There will be different administrators for each site, but a lot of data will be shared, so using Soma's module seems to be a good idea. The problem is that those 4 sites have different names for the French and English version.
compagnieUn.com (for French) companyOne.com (for English) compagnieDeux.com (for French) companyTwo.com (for English) etc. Will we shoot ourselves in our feet to develop with just one installation? Would it be preferable to make those sites able to talk to each other instead?
Your input would be very much welcome!