I use the page include macro to pull content from space A to B. Content comes up fine but the links (all relative links) still point to space A. I want the relative links to point to the current space, which is B.
Do you guys know any macros to do what I'm describing please?
Perhaps you should build a simple user macro to do this job.
For example this user macro will link to a couple of pages in the current space:
## Macro title: Some kind of formatting macro ## Macro has a body: N ## Body processing: n/a ## Output: HTML ## ## Developed by: David Simpson, AppFusions ## Date created: 2013-07-02 ## Installed by: My Name ## @noparams #set($spaceKey = $content.getSpace().key) <ul> <li><a href="/display/$spaceKey/Some+Page">Some page</a></li> <li><a href="/display/$spaceKey/Some+other+Page">Some other page</a></li> </ul>
Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot