Hi,
I have a multisite install where Im sharing content (nodes) , taxonomy and users. (I am only not sharing the following tables : menu, cache, variable, accesslog, watchdog)
I present content to different websites based on tags (for example subdomain1.example.com will only present blogs tagged under vocabulary subdomain1 , similar functionality for subdomain2.example.com etc..cross tagged content will appear on both sites)
The problem Im facing is with search...I want anonymous users on subdomain1.example.com to only see content tagged under subdomain1 while searching.
Is there anyway to achieve this? I have installed TAC but setting permissions for anonymous users on a per site basis is not possible...
Is there anything else I can be trying?
There is a way to change 'anonymous' user per site on administer->settings...but that only seems to change the name
Thanks,
VJ
I came across a similar issue with creating content. I wanted the dominant term of a sub-site (made like yours) to be automatically selected when creating new content from that subdomain (I also use TAC for access control). I had to use the 'taxomony_default' modules and set the defaults using the settings.php files, the 'conf' array. If you did something this, then you would have to hack the search module to automatically filter by this default term. Not simple or elegant.
Another way is to not share the TAC tables. But then you will have to reconfigure each subsite with the TAC permissions, which depending on the number may be a rather daunting task. But then no hacking modules. This is a powerful, but complex way to differentiate your site permissions. I did this for my site at www.skejo.com.
Greg
_____
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of VJ Rao Sent: Wednesday, October 25, 2006 1:45 PM To: support@drupal.org; development@drupal.org Subject: [support] multisite technical question
Hi,
I have a multisite install where Im sharing content (nodes) , taxonomy and users. (I am only not sharing the following tables : menu, cache, variable, accesslog, watchdog)
I present content to different websites based on tags (for example subdomain1.example.com will only present blogs tagged under vocabulary subdomain1 , similar functionality for subdomain2.example.com etc..cross tagged content will appear on both sites)
The problem Im facing is with search...I want anonymous users on subdomain1.example.com to only see content tagged under subdomain1 while searching.
Is there anyway to achieve this? I have installed TAC but setting permissions for anonymous users on a per site basis is not possible...
Is there anything else I can be trying?
There is a way to change 'anonymous' user per site on administer->settings...but that only seems to change the name
Thanks,
VJ
Thanks Greg.
If I needed to filter search I would probably do that on a site specific level ( in the themes or with a simple module), rather than hack core..I am leaning towards doing that at this point. Has anyone tried to filter search results with a module/theming script before?
I considered not sharing TAC, but right now the cons outweigh the pros. Infact, Im not so sure I want TAC anymore..I initially wanted it to make sure roles with website only permissions (as opposed to multisite content managers) dont tag content across websites..the problem though is when these guys update text on content, they will remove all the tags which the content managers had (coz lower roles dont have access to global tags)
Regads,
V
On 10/25/06, Greg SBC gregbjh@sbcglobal.net wrote:
I came across a similar issue with creating content. I wanted the dominant term of a sub-site (made like yours) to be automatically selected when creating new content from that subdomain (I also use TAC for access control). I had to use the 'taxomony_default' modules and set the defaults using the settings.php files, the 'conf' array. If you did something this, then you would have to hack the search module to automatically filter by this default term. Not simple or elegant.
Another way is to not share the TAC tables. But then you will have to reconfigure each subsite with the TAC permissions, which depending on the number may be a rather daunting task. But then no hacking modules. This is a powerful, but complex way to differentiate your site permissions. I did this for my site at www.skejo.com.
Greg
*From:* support-bounces@drupal.org [mailto:support-bounces@drupal.org] *On Behalf Of *VJ Rao *Sent:* Wednesday, October 25, 2006 1:45 PM *To:* support@drupal.org; development@drupal.org *Subject:* [support] multisite technical question
Hi,
I have a multisite install where Im sharing content (nodes) , taxonomy and users. (I am only not sharing the following tables : menu, cache, variable, accesslog, watchdog)
I present content to different websites based on tags (for example subdomain1.example.com will only present blogs tagged under vocabulary subdomain1 , similar functionality for subdomain2.example.com etc..cross tagged content will appear on both sites)
The problem Im facing is with search...I want anonymous users on subdomain1.example.com to only see content tagged under subdomain1 while searching.
Is there anyway to achieve this? I have installed TAC but setting permissions for anonymous users on a per site basis is not possible...
Is there anything else I can be trying?
There is a way to change 'anonymous' user per site on administer->settings...but that only seems to change the name
Thanks,
VJ
-- [ Drupal support list | http://lists.drupal.org/ ]
Now that I think about it, all I want to do is catch the search string and add 'category:122' to it.
Something like :
<?php if advanced search then do nothing if regular search then %search string%+category:122; ?>
Can I do this at the theme level (for each multisite website)..or will I have to write a small module for this?
Thanks,
V
On 10/25/06, VJ Rao cmsconsultant@gmail.com wrote:
Thanks Greg.
If I needed to filter search I would probably do that on a site specific level ( in the themes or with a simple module), rather than hack core..I am leaning towards doing that at this point. Has anyone tried to filter search results with a module/theming script before?
I considered not sharing TAC, but right now the cons outweigh the pros. Infact, Im not so sure I want TAC anymore..I initially wanted it to make sure roles with website only permissions (as opposed to multisite content managers) dont tag content across websites..the problem though is when these guys update text on content, they will remove all the tags which the content managers had (coz lower roles dont have access to global tags)
Regads,
V
On 10/25/06, Greg SBC gregbjh@sbcglobal.net wrote:
I came across a similar issue with creating content. I wanted the dominant term of a sub-site (made like yours) to be automatically selected when creating new content from that subdomain (I also use TAC for access control). I had to use the 'taxomony_default' modules and set the defaults using the settings.php files, the 'conf' array. If you did something this, then you would have to hack the search module to automatically filter by this default term. Not simple or elegant.
Another way is to not share the TAC tables. But then you will have to reconfigure each subsite with the TAC permissions, which depending on the number may be a rather daunting task. But then no hacking modules. This is a powerful, but complex way to differentiate your site permissions. I did this for my site at www.skejo.com.
Greg
*From:* support-bounces@drupal.org [mailto: support-bounces@drupal.org] *On Behalf Of *VJ Rao *Sent:* Wednesday, October 25, 2006 1:45 PM *To:* support@drupal.org; development@drupal.org *Subject:* [support] multisite technical question
Hi,
I have a multisite install where Im sharing content (nodes) , taxonomy and users. (I am only not sharing the following tables : menu, cache, variable, accesslog, watchdog)
I present content to different websites based on tags (for example subdomain1.example.com will only present blogs tagged under vocabulary subdomain1 , similar functionality for subdomain2.example.com etc..cross tagged content will appear on both sites)
The problem Im facing is with search...I want anonymous users on subdomain1.example.com to only see content tagged under subdomain1 while searching.
Is there anyway to achieve this? I have installed TAC but setting permissions for anonymous users on a per site basis is not possible...
Is there anything else I can be trying?
There is a way to change 'anonymous' user per site on administer->settings...but that only seems to change the name
Thanks,
VJ
-- [ Drupal support list | http://lists.drupal.org/ ]
On Oct 25, 2006, at 2:45 PM, VJ Rao wrote:
I have a multisite install where Im sharing content (nodes) , taxonomy and users. (I am only not sharing the following tables : menu, cache, variable, accesslog, watchdog)
I present content to different websites based on tags (for example subdomain1.example.com will only present blogs tagged under vocabulary subdomain1 , similar functionality for subdomain2.example.com etc..cross tagged content will appear on both sites)
The problem Im facing is with search...I want anonymous users on subdomain1.example.com to only see content tagged under subdomain1 while searching.
Is there anyway to achieve this?
What if you did not share node content automatically, and instead use publish/subscribe or some such thing to integrate content as you need it?
Thats not practical for my set up..but I did consider that.
On 10/25/06, Laura Scott laura@pingv.com wrote:
On Oct 25, 2006, at 2:45 PM, VJ Rao wrote:
I have a multisite install where Im sharing content (nodes) , taxonomy and users. (I am only not sharing the following tables : menu, cache, variable, accesslog, watchdog)
I present content to different websites based on tags (for example subdomain1.example.com will only present blogs tagged under vocabulary subdomain1 , similar functionality for subdomain2.example.com etc..cross tagged content will appear on both sites)
The problem Im facing is with search...I want anonymous users on subdomain1.example.com to only see content tagged under subdomain1 while searching.
Is there anyway to achieve this?
What if you did not share node content automatically, and instead use publish/subscribe or some such thing to integrate content as you need it?
-- [ Drupal support list | http://lists.drupal.org/ ]