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
Thankx for the reply managed to fix it was looking for something like $generalUtil.getGlobalSettings().getSiteTitle(); in the user macro
@Masocha Masocha Good Job
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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" />
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.