When I log into Confluence, I want to go straight to my Space directory. Can I achieve this?

3 answers

1 accepted

This widget could not be displayed.
Davin Studer Community Champion Jun 09, 2016

If you want to go to the space directory itself and not your personal space you need to go about it slightly differently. The first thing to do would be to create a space called something like Space Directory Redirect. Then create a user macro with the following code by @Stephen Deutsch. Then on the home page of the Space Directory Redirect space add the user macro to it and put this url (http://{server}/spacedirectory/view.action) into the location parameter (see below screenshot). You will need to change {server} to your server name. Finally setup your default space in your profile to be the Space Directory Redirect space using the steps that @Lameck Oliveira [Diferencial TI] provided.

Redirect User Macro

Macro Name:
redirect_macro 

Macro Title:
Redirect Macro 

Macro Body Processing:
No macro body 

Template:

## Macro title: Redirect Macro
## Body processing: N
##
## Developed by: Stephen Deutsch
##
## This macro redirects the user from the current page to a new page defined in the options.
## This macro more or less duplicates the functionality of the ServiceRocket Redirection Plugin
## Copyright 2014 zanox AG
## 
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
## 
##     http://www.apache.org/licenses/LICENSE-2.0
## 
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.
## @param location:title=Location|type=string|required=true|desc=The URL to redirect to
## @param delay:title=Delay|type=string|default=0|desc=The number of seconds to delay before redirecting the browser.
#set ( $Integer = 0 )
#set ( $delay = "0" )
#set ( $delay = $paramdelay )
#set ( $delay = $Integer.parseInt($delay) * 1000 )
#if ( $req.getParameter('redirect') != "false" )
  <script>
  setTimeout(function() {
    window.location = "$paramlocation";
  }, $delay);
  </script>
#end
<ac:macro ac:name="note">
  <ac:parameter ac:name="title">Redirection notice</ac:parameter>
  <ac:rich-text-body>
    <p>This page will redirect to <a href="$paramlocation">$paramlocation</a> in about $delay seconds.</p>
  </ac:rich-text-body>
</ac:macro>

image2016-6-9 10:39:40.png

 

This widget could not be displayed.

Ros, I solved it with a workaround.

I mark it as favorite on my browser. The address is https://<your_domain>.atlassian.net/wiki/spaces/viewspace.action?key=~<your_username>

Regards.

This widget could not be displayed.

@Ros McMahon, I found a way!

Step by step:

  1. Login at Confluence
  2. Click on your photo at top-right
  3. Click on Parameters
  4. The first one is what you looking for

image2016-6-3 11:33:36.png

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

627 views 8 6
Join discussion

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you