Hi,
I noticed that I can customize the sidebar, header and footer in Confluence 5.10.
I would like to add a livesearch macro in the header, but when I paste this, it is displayed as such:
<ac:structured-macro ac:macro-id="eeede5a3-a0bd-4a99-b7ca-5aa3f5e8043b" ac:name="livesearch" ac:schema-version="1">
<ac:parameter ac:name="spaceKey">
<ri:space ri:space-key="bqc"/>
</ac:parameter>
</ac:structured-macro>
Any help with this?
Thanks.
You should be able to get it to work by inputting it in the old wiki markup format:
{livesearch:spaceKey=bqc}
The alignment might be off because the header is set to be center-aligned, but it should still work.
I tried that with the Metadata 2 Plugin (https://comalatech.jira.com/wiki/spaces/META/overview), but the stuff is not rendering when I put for example this in the main.vmd file:
{space-metadata-from:Release-Version}
Do you have any ideas how to accomplish rendering stuff from the Metadata 2 Plugin in a Velocity file?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Using the suggested {livesearch:spaceKey=xxx} works great in the header. I'm wondering if there is a way to get just that macro to have its standard alignment for search results, rather then retaining the space header center alignment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It appears that adding {livesearch:spaceKey=xxx} to the header no longer works, at least not for me. No search box is displayed in header, although I can add it to pages just fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are having a similar issue. When we use the above referenced way to add macros, we get an error stating that the macro can't be found.
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.