By neo_silkroad on
Hello!
We have three sites we are building content, focused on the first one for now:
http://www.whatsonchiangmai.com
http://www.whatsonthailand.com
http://www.whatsonbangkok.com
We are using multisite mode, in the /sites directory for the title, slogan and (eventually) theme as css, all using a single instance of Drupal and a single database.
Question:
How can be display site specific blocks and nodes on the different sites?
Is there a module that permits us to do this by taxonomy?
Thanks!
Comments
Hello. To make the blocks be
Hello.
To make the blocks be specific for each domain, I used this PHP code in the block config (for example):
Any clues on where to add this to the front page to I can change the front page content that is not controlled by blocks?
Thanks.
OK! Thanks to folks here,
OK! Thanks to folks here, and a lot of work, it is done.
I have fours different sites running with one Drupal install and one database.
Basically, you use the ... /sites/..../settings.php for each domain and override the 'site_frontpage' variable to show content (nodes) based on tags (taxonomy).
Also, you use PHP code (above) to control which blocks show on each site (domain).
Different themes can be selected ,of course, in the settings.php file for each domain.
So, I can easily run many sites with different themes, content and blocks with one Drupal install and one database.
Yea....
assign a block
Hello,
I am looking for a waz to make a block from a site / between multisites/ to showed in an other site, for instance block "latest forum" from http://forum.example.com to be showed in main page of http://example.com. I tried your code but it didnt work. Please advise if you can help?
Thanks a lot.
T. Mai