0

I am using Organic Groups for as a solution for Drupal Sub sites, it is working perfectly, even themes are switching via Organic groups theme but I am having problem with /user/register and /user pages.

I want to pass context to user pages like user/groupname/register or user/groupname , so how can I do it ? because /user currently throws me out of the currently active theme for Organic Group.

Also one more thing, the Group Id which I want to pass should be as alias?like pathauto paths.

0

I would probably look at PURL for this, an API to make a part of a URL persistent. PURL itself does nothing since it's an API, but you can get started with OG Purl. Be warned, it's more advanced to be creating your own bridge like OG Purl does. A lot of motivation is required :)

  • thanks for your reply...Be warned, it's more advanced to be creating your own bridge like OG Purl does. A lot of motivation is required :)..can you please elaborate it? You mean to say that OG Purl is tough to consider? Also how about SPaces module?does it do the same? – Naveed Khan Apr 11 '14 at 6:20
  • I think Spaces is not maintained as much as OG. I would suggest anyhow to try OG Purl, it might do the trick for you with little config. – Kevin Apr 11 '14 at 6:33
  • Thanks for your reply...Can you please tell me from where can i use PURL..because its documentation says it is an API module..and doesnt seem to have any UI...i have now spent almost 3 hours even on google but to no avail... – Naveed Khan Apr 12 '14 at 7:30
  • /admin/config/search/purl provides you an interface. You need to programmatically create a Provider for ex based on your path. Next up you can programmatically create modifiers. A modifier is the fixed part in the URL, the ID is your choice to give a meaning to that fixed part. OG Purl gives examples on this. – Kevin Apr 14 '14 at 5:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.