Hello guys, I am working on a site with more then 10 sections and via Mightysites I plan to split this site to 2 sites.
But I have one problem which I will explain using example below to explain it more clearly:
Site 1 - movie.com has sections: movies, tv-shows, actors, director.
Site 2 - music.com has sections: labels, groups, singers.
If you don't know what Mightysites does, I will explain it shortly: it allows to creat multiple sites on one joomla installation and one database. So truly I will have two same sites but on one site I will display sections for movie.com and on another sections for music.com but other hidden sections will exist on both sites.
there are also some other sections but here we don't need to mention them.
So for example we have singer "PSY", who has appeared in TV-show called "Weekly IDol"
for example full view of record "PSY" has this url : music.com/singer/psy it will also have another url movie.com/singer/psy (but this record is not displayed on movie.com it is just hidden )
and
full view of record "Weekly IDol" has this url: movie.com/tv-shows/weekly-idol it will also have url music.com/tv-shows/weekly-idol (but this record is not displayed on music.com it is just hidden )
So I will connect this two records from diferent sections via relation fields. But as you can understand this records are displayed on different sites so when I am on page: music.com/singer/psy I see record "PSY" which has related record "Weekly IDol" and if I will click on it it will redirect me to music.com/tv-shows/weekly-idol but I want to get redirected to movie.com/tv-shows/weekly-idol
So what is my question: Is it possible to add to each relation field template a code which will detect to what domain it redirects and change only domain name and then redirect ?
Hello guys, I am working on a site with more then 10 sections and via Mightysites I plan to split this site to 2 sites.
But I have one problem which I will explain using example below to explain it more clearly:
Site 1 - movie.com has sections: movies, tv-shows, actors, director.
Site 2 - music.com has sections: labels, groups, singers.
If you don't know what Mightysites does, I will explain it shortly: it allows to creat multiple sites on one joomla installation and one database. So truly I will have two same sites but on one site I will display sections for movie.com and on another sections for music.com but other hidden sections will exist on both sites.
there are also some other sections but here we don't need to mention them.
So for example we have singer "PSY", who has appeared in TV-show called "Weekly IDol"
for example full view of record "PSY" has this url : music.com/singer/psy it will also have another url movie.com/singer/psy (but this record is not displayed on movie.com it is just hidden )
and
full view of record "Weekly IDol" has this url: movie.com/tv-shows/weekly-idol it will also have url music.com/tv-shows/weekly-idol (but this record is not displayed on music.com it is just hidden )
So I will connect this two records from diferent sections via relation fields. But as you can understand this records are displayed on different sites so when I am on page: music.com/singer/psy I see record "PSY" which has related record "Weekly IDol" and if I will click on it it will redirect me to music.com/tv-shows/weekly-idol but I want to get redirected to movie.com/tv-shows/weekly-idol
So what is my question: Is it possible to add to each relation field template a code which will detect to what domain it redirects and change only domain name and then redirect ?