We've just installed 5.0.3 and I'd like to insert a link that looks like this:
jdbcoraclethin:@(description=(sdu=33333)(enable=broken)(load_balance=yes)(address=(protocol=tcp)(host=www.oursite.com)(por=1111))(address=(protocol=tcp)(host=www.oursite.com)(port=1111))(connect_data=(service_name=user1)))
with the title 'Copy jdbc url from here'.
But this doesn't work and when I use the Insert Link method. It tells me the link is invalid unless I prepend it with http://- but this of course breaks the link.
How can I do this without putting a lot of messy urls on the page?
P.S: I tried adding a small bounty but the karma offered in the end was 5 times what I entered so I've cancelled until I figure that out..
That's because it's not really a proper http based url, so Confluence can't understand it as a link.
I don't think you can do this without some code to tell Confluence "this is a non-standard link, please treat it the same way as an http url". I'd try doing that in a user macro though - I have seen this done before, but I'm not 100% sure it was with a user macro or a plugin macro.
Thanks Nic Brough. I've gone through the default macros and haven't found anything like that. Like I say, I could include them fully expanded like above but they page would look terrible. Maybe I could use some other form of hiding - like the cloak macro - but nothing would beat linking.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thing is, it's NOT a link, it's a block of text that you want to format differently to other blocks of text.
Have another look at the user macros - you can use them to wrap formatting around blocks of text. Not the existing ones, but writing one for yourself - https://confluence.atlassian.com/display/DOC/Writing+User+Macros
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Nic, that's a good failsafe option. I'll try the cloak macro first and failing that I guess I'm looking at creating a macro.
It's not a link, but it is a url. It would be great to have support for it for technical projects like ours. I'll take a look at your link, thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.