Hi,

I am new to spaces module, so am wondering the way to redirect

node/[nid] to [group-prefix]/node/[nid]

In the following two cases:

1) node:[nid] is a group node
2) node:[nid] is a post in a group

Thanks.

CommentFileSizeAuthor
#11 group_preset.jpg31.87 KBforedoc

Comments

foredoc’s picture

Is this something so obvious that only I have problem with?

I did not find any clue in readme, any related documentation/direction that I can be referred to?

Thanks.

foredoc’s picture

For test reason, I installed a fresh open atrium, and found out that:

in both cases above, the redirection is done "Automatically", which means I do not need to worry about it.

Is this something unique to open atrium?

Thanks.

foredoc’s picture

Any pointers will be very much appreciated.

Thanks.

arosboro’s picture

When purl is set up, it should redirect if the group has the path field set to the value of that field. (If path is set to foo on nid/1, going to nid/1 will redirect to foo/nid/1).

Do you have the purl module installed?

Edit: I'm looking at the 7.x branch, not 6.x so it may be different

Grayside’s picture

You need to install Spaces OG before creating any groups.

foredoc’s picture

First of all, thanks for your attention.

@arosboro: I have purl installed, and by visiting node/[nid], neither the group node nor the group post will be redirected to foo/node/[nid]

@Grayside: I have a fresh install of drupal, and all groups were created after the installation of Spaces OG module.

Right now, I am totally clueless. Any other suggestions? Thanks.

Grayside’s picture

Group prefix is defined.
Node is only posted to a single group.
Persistent URL module is in fact enabled.

foredoc’s picture

Those are exactly what I have done :(

Grayside’s picture

Do you have the Space Preset selector on your group form? I took a quick glance at http://drupalcode.org/project/atrium_features.git/tree/refs/heads/6.x-1.... and see the .module file turns on some default spaces presets. That is the module I would check for any other secret Atrium sauce with Spaces.

foredoc’s picture

I do have the space preset selector on my group create/edit form, see attached.

I believe that I have checked atrium_groups feature without any findings, but will double check it, and report back.

BTW, could this be caused by some sort of conflictions with other modules?

Thanks.

foredoc’s picture

StatusFileSize
new31.87 KB

Forgot the attachment in #10.

Grayside’s picture

Potentially, but I can't think of any modules offhand.

foredoc’s picture

Made some tests, seems it is caused by module: Sub-path URL Aliases
After disabling Sub-path URL Aliases, the problem disappeared.

Thanks.

Grayside’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.