Closed (fixed)
Project:
Persistent URL
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Aug 2012 at 19:28 UTC
Updated:
26 Dec 2012 at 22:20 UTC
I'm not sure if this is possible, but I am trying to create my path prefix not be at the root.
For example:
I've got an OG space.
I want to create an OG, named "OFFICE A", giving it a PURL path of "office-a"
I want my persistent url to be at example.com/offices/office-a.
Currently, I can only create persistent paths at example.com/office-a and cannot do it at example.com/offices/office-a
Am I missing something or is this not possible?
Comments
Comment #1
pfrenssenI don't know if Spaces OG has implemented this, but PURL has the built-in "Pair" method that provides this exact functionality. Here is an example module that implements your use case with a very simple provider using the PURL API. Getting this in Spaces OG is a bit more complex, but this is not really the place for Spaces support, you're better off trying your luck in the Spaces issue queue.
purldemo.info:
purldemo.module:
To get this working for your use case:
Result: you see your modifier "office-a" output to the screen.