HI-

I am using the multiple domains module to set up sub-domain sites for my members. Each subdomain's URL is user_name.mainsite.com. I have it set so that the subdomain and theme for the subdomain kick in whenever the url path is www.mainsite.com/user_name/*. I am also using pathauto, which is great, because I can set paths to my members' content based on the content type and who owns the content using [user] and don't have to worry about my members setting the path correctly when they make content. So far the two work quite well together.

I would like to be able to set up a menu that does something similar. My members' content will be listed in a secondary menu and I don't want to have to set up a different menu for each of my members' sites (I may not be the admin for the site all the time and I want the process of adding new subdomains to be as easy as possible). I want to be able to set up one secondary menu whose paths are set to something like [user]/blah (I am borrowing pathauto's syntax, but I realize that this is not necessarily what I would use for the menu). This way, when a member creates a node of content-type blah, pathauto automatically sets its path to [user]/blah based on my instructions, it then is mapped to the correct subdomain and theme thanks to multiple domains, and the secondary menu link in the user's subdomain will pick that page up based on the fact that the node's owner, the path to the node and the subdomain all point to the same user.

Can this be done? Is there something already available that I can use/modify or am I going to have to create a module to do this? I will take a crack at a module if need be, but I would much rather use what is already available.

Thanks in advance.

Comments

kgriffin’s picture

yeeks. sorry for the double post. my fault.

wayland76’s picture

I'm unaware of anything like this. Please let me know how you go.

ahales’s picture

Component: code » interface

Seems that a module is required to achieve what you require. Why not check out the Domain Access Project http://www.drupal.org/project/domain

betz’s picture

Status: Active » Closed (fixed)