It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do l get Site Title in user macro

Masocha Masocha Oct 17, 2013

What is the method to get SIte Title in a user macro.l know there is $content.getTitle() for page title.However l need to get the global Site Title

2 answers

1 accepted

1 vote
Answer accepted
Masocha Masocha Oct 17, 2013

Thankx for the reply managed to fix it was looking for something like $generalUtil.getGlobalSettings().getSiteTitle(); in the user macro

Alexej Geldt Oct 17, 2013

@Masocha Masocha Good Job

0 votes
Alexej Geldt Oct 17, 2013

your question is not quite clear. Are you talking about a WebWork module?

I used to set titles for my templates in WebWork modules like this:

in velocity template:

<h3>$i18n.getText("my-plugin.title")</h3>

in my-plugin.properties:

my-plugin.title=Page Title

in atlassian-plugin.xml:

<resource type="i18n" name="i18n" location="my-plugin" />

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

853 views 6 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you