Access Keys:
Skip to content (Access Key - 0)
Home (Access Key - 1)
All spaces... (Access Key - 3)
Log in (Access Key - 5)
Sign up (Access Key - 6)
Toggle Sidebar

lozenge macro


{lozenge} Macro

Examples

Hints and Tips

The lozenge is a great way to provide attractive navigation to key areas on a site. Because it limits the amount of text you can put in, you are forced to think of a concise way of describing what the link goes to and this makes your site easier to use.

Frequently Asked Questions

Q I've put in the name of an icon as shown in the example, but it's not appearing and I get an ugly error message...
A You need to attach the icon to your page or provide a URL to an icon elsewhere - this macro doesn't contain the icons.
Toggle Sidebar

See Also

Incoming Links


Outgoing Links


Added by Guy Fraser on Oct 31, 2005 22:58, last edited by Guy Fraser on Jul 21, 2008 19:13
Anonymous

I get the nasty message to, but if I commit my changes (save) then the lozenge appears as advertised. However, a return to the "Edit" screen throws an "unable to render" null exception error.

It would be most helpful if you could post an issue to JIRA http://jira.adaptavist.com/browse/WEB listing the following details so that we can try and replicate the error at this end

  • Confluence version
  • Plugin version
  • JVM version
  • Tomcat/resin/websphere version
  • and a copy/paste of the exception that you are seeing
Anonymous

How do I attach icons to my page?

Anonymous

I can't seem to get an exclamation mark to render correctly when it is part of the

Unable to render embedded object: File (department_icon.gif) not found.
  [Yahoo!7]
 
Anonymous

When linking a Lozenge to an outside link or attachment, the little green arrow appears and forces the icon expand beyond the borders of the lozenge. Can this be prevented, prehaps but not having the gree arrow display.

Not currently - please add a task to our issue tracker and we'll look to implement this in a future release.

Anonymous

The CSS for the Lozenges breaks when using the Clickr theme. Is this known? Is there a fix?

can i create a link to an external page in the title of the lozenge macro?

I use the loznege for a disclaimer on a set of pages, for this I created a disclaimer on a separate page which I included using (code)[include:disclaimer](code). Now I want to align the Lozenge in the center of the page. Is this possible?
Thanks.

Dear Adaptavist,
The Lozenge macro seems to work fine in a page, but if i get a notification by email of the page when it's changed, the images do not come through in the email.

Other normal/default confluence pages with images come through with all images intact though, but those images are gifs.

The Lozenge test page I made uses a PNG image.

Are you able to suggest anything?

kind regards,
Paul

An admin of our wiki discovered this macro and fell in love with it. Only problem with it is it's not flexible enough... if you put too much text in it, you see the images repeating. So I had to make a clone of this as a user macro using HTML. It ended up looking like this:

Doesn't look quite as good maybe (can't figure out how to do the rounded corners on the right), but we can put as much text as we want inside and there won't be any image tiling/repetition. Here's the code if you want to try to recreate this on your wiki:

http://idisk.mac.com/mbovett-Public/lozengeclone.txt

Here's a zip file with the images:

http://idisk.mac.com/mbovett-Public/pill_blue.zip

The macro usage is:

{yourmacroname:This is the bold heading part}The body is the rest of the message text.{yourmacroname}

Oh, I made lots of colors of this too. There's a separate macro for each color. If you want the images for the other colors email me at mbovett@gmail.com.


Adaptavist Theme Builder Powered by Atlassian Confluence