I've added the following code to my Page Layout for a specific space:
#if ($mode == "view")
<content tag="page-metadata-banner">
#skiplink("page-banner", $i18n.getText("assistive.skiplink.to.banner.start"), $i18n.getText("assistive.skiplink.to.banner.end"))
#webPanelForLocation("atl.page.metadata.banner", {"action": $action})
$helper.renderConfluenceMacro("{page-info:infoType=Create date
}")
#end
</content>
#end
So that the Create date will always be displayed.
However, I keep getting an "unknown macro" error for the Page Info Macro. I have ScriptRunner installed, and this configuration works with other macros -- I tested {children} and {viewtracker} and they worked perfectly.
Does anyone know why this particular macro isn't working???
Thank you!
Mandy,
Page info macro seems to be a 3rd party add-on. if this is the case, you can indicate on the pages or make use of labels.
Is this the macro you're referring to or is there another one.?
Victor
Hi Victor,
Yes, the Page Info macro is 3rd-party (Adaptivist). Does that mean I can't use it with wiki markup or apply it using the code above?
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It looks like you can use plugin macros in Page Layout code, so I was able to add a user created macro instead.
Thanks Victor!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good to hear mandy.
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.